Page 1 of 1

DLL created in PB has Paurebasic.DLL name

Posted: Wed Oct 06, 2004 6:38 pm
by Jose
Hi,

When you create a DLL, with editor or command line, the resulting DLL file will be called what you specify as the output file;

sampledll.pb -> sampledll.dll

Up to this point all is OK;

If you look inside the DLL file with a Hex editor, and search for "PureBasic.DLL" you will find this string inside the DLL file.

My questions is;

1) can we rename this string
2) how can one create a DLL which has the correct name, the name of the file (in my case sampledll.dll) instead of "PureBasic.DLL"

Any one know what to do, FRED?

Thanks

Posted: Wed Oct 06, 2004 7:54 pm
by Moonshine
Maybe resource hacker can be of some use?

http://www.users.on.net/johnson/resourcehacker/

Posted: Thu Oct 07, 2004 10:30 am
by Fred
I will take a look, right.

Posted: Tue Oct 12, 2004 12:18 pm
by Jose
@moonshine, thanks for the pointers, I used resource hacker and modified the "purebasic.dll" and all still works.

@Fred, it would be good to be able to create the DLL with the right name imbeded, thus saving us having to hack the resulting file.

I look forward to your solution. :lol:
Thanks