News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Help, Editing resource

Started by x64Core, July 19, 2012, 01:28:49 PM

Previous topic - Next topic

x64Core

Hello all, guys, could someone help me, I'm trying to edit the resource of a Exe file in runtime, for example I would like to edit the
FileDescription field of my Exe file. I know get the field, using GetFileVersionInfo + VerQueryValue. but how can Imodify it?

I think with UpdateResource but I do not know how to use :P
any help, thanks!

qWord

AFAIK there is no way to edit resources at runtime because the system locks the file for write access.
You may be able to do it by using a trampoline process.
MREAL macros - when you need floating point arithmetic while assembling!

x64Core

ok but how I can do for any file? :P