Page 1 of 1
Is there a program can edit the resources of a pb exe?
Posted: Wed Jan 30, 2019 12:24 am
by gurj
Is there a program that can edit the resources of a program created by PureBasic?
Re: Is there a program can edit the resources of a pb exe?
Posted: Wed Jan 30, 2019 9:47 am
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
Re: Is there a program can edit the resources of a pb exe?
Posted: Wed Jan 30, 2019 1:21 pm
by gurj
I use Resourcehacker, but it doesn't know PB window.
Thank you for link!
Re: Is there a program can edit the resources of a pb exe?
Posted: Thu Jan 31, 2019 9:23 am
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 ?
Re: Is there a program can edit the resources of a pb exe?
Posted: Thu Jan 31, 2019 10:09 am
by gurj
Sorry, I haven't used res or RC...
Re: Is there a program can edit the resources of a pb exe?
Posted: Thu Jan 31, 2019 10:27 am
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.
Re: Is there a program can edit the resources of a pb exe?
Posted: Thu Jan 31, 2019 10:44 am
by Fred
They should be, they are regular win32 apps..
Re: Is there a program can edit the resources of a pb exe?
Posted: Thu Jan 31, 2019 10:51 am
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]
Re: Is there a program can edit the resources of a pb exe?
Posted: Thu Jan 31, 2019 10:59 am
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.

Re: Is there a program can edit the resources of a pb exe?
Posted: Thu Jan 31, 2019 11:25 am
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.
Re: Is there a program can edit the resources of a pb exe?
Posted: Thu Jan 31, 2019 11:29 am
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