Is there a program can edit the resources of a pb exe?

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
gurj
Enthusiast
Enthusiast
Posts: 693
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

Is there a program can edit the resources of a pb exe?

Post by gurj »

Is there a program that can edit the resources of a program created by PureBasic?
my pb for chinese:
http://ataorj.ys168.com
Denis
Enthusiast
Enthusiast
Posts: 779
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: Is there a program can edit the resources of a pb exe?

Post by Denis »

For Windows

Freeware :
PelleC, resourceHacker, XN Resource Editor etc.

Not Free :
Resource Tuner, PE explorer etc.

https://www.thefreecountry.com/programm ... tors.shtml
A+
Denis
User avatar
gurj
Enthusiast
Enthusiast
Posts: 693
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

Re: Is there a program can edit the resources of a pb exe?

Post by gurj »

I use Resourcehacker, but it doesn't know PB window.
Thank you for link!
my pb for chinese:
http://ataorj.ys168.com
Denis
Enthusiast
Enthusiast
Posts: 779
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: Is there a program can edit the resources of a pb exe?

Post by Denis »

gurj wrote:I use Resourcehacker, but it doesn't know PB window.
Thank you for link!
Hello gurj,
Resources have to be associed with the rc file(s) at compilation.
I don't really understand.
What's the problem with PB windows and Resourcehacker ?
A+
Denis
User avatar
gurj
Enthusiast
Enthusiast
Posts: 693
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

Re: Is there a program can edit the resources of a pb exe?

Post by gurj »

Sorry, I haven't used res or RC...
my pb for chinese:
http://ataorj.ys168.com
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Is there a program can edit the resources of a pb exe?

Post by Dude »

PureBasic exes can't be hacked with resource editors. I learned this a long time ago. It's a great security feature, IMO.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Is there a program can edit the resources of a pb exe?

Post by Fred »

They should be, they are regular win32 apps..
User avatar
yoxola
Enthusiast
Enthusiast
Posts: 386
Joined: Sat Feb 25, 2006 4:23 pm

Re: Is there a program can edit the resources of a pb exe?

Post by yoxola »

PB created EXEs don't use resources, under Win32 it creates forms on the fly with Windows APIs, hence it's not easy to modify the window created with PB unless you know how to edit Win32/64 PE or have the source file.

[EDIT]
Compiled Win32/64 PB EXEs contains resource with the program icon, version info etc, but not with menu/forms/dialogs.
[/EDIT]
This field was left intentionally as signature.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Is there a program can edit the resources of a pb exe?

Post by Dude »

Fred wrote:They should be, they are regular win32 apps..
Well don't change anything... I like the fact that resource editors fail with my PureBasic exes. :)
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Is there a program can edit the resources of a pb exe?

Post by Fred »

yoxola wrote:PB created EXEs don't use resources, under Win32 it creates forms on the fly with Windows APIs, hence it's not easy to modify the window created with PB unless you know how to edit Win32/64 PE or have the source file.

[EDIT]
Compiled Win32/64 PB EXEs contains resource with the program icon, version info etc, but not with menu/forms/dialogs.
[/EDIT]
Yes, PB doesn't uses resources for anything except icon and version. But if you use the API, you can add resources and edit them.
User avatar
gurj
Enthusiast
Enthusiast
Posts: 693
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

Re: Is there a program can edit the resources of a pb exe?

Post by gurj »

I thought of this topic because of the following topic ...
[IDE bug] set Event to trigger the tool, the list table height=0
viewtopic.php?f=4&t=72174
my pb for chinese:
http://ataorj.ys168.com
Post Reply