Hi,
I am trying to add custom resources to a file which is made from copying an existing exe file at runtime using CopyFile. I call it like this
invoke BeginUpdateResource,ADDR LoaderName,FALSE
I get the error ERROR_CALL_NOT_IMPLEMENTED . I use Win98 SE .
Thomas Antony
Thomas, I am pretty sure that function is not available in win98se at all. It will only work on NT based version from win2k up.
I think there must be a patch to solve the problem.
I read somewhere that the "Microsoft Unicode Layer" for Win 9X should fix this. Not sure it works - never tried it.
Pelle
I have tried MSLU with Win9x and BeginUpdateResource and it does work. I think I used it for an auto-install application that I was building but I ended up going a different route. The tests were all successful however.
Quote
Thomas, I am pretty sure that function is not available in win98se at all. It will only work on NT based version from win2k up
Hi,
Thats too bad.... Then why the hell did they have the function in the dll at all ::) . Does anyone know any other way to modify resources of a file dynamically.
Thomas Antony
Hi Thomas,
This is what I found:
http://help.madshi.net/madResUnit.htm
I hope it helps you.
Hi,
Vortex,. Thanx but I didn't understand much in that website. Is there any way to edit the resources directly using info from the PE header perhaps
Thomas Antony