Author Topic: Help, Editing resource  (Read 3279 times)

x64Core

  • Member
  • **
  • Posts: 80
Help, Editing resource
« on: July 19, 2012, 01:28:49 PM »
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

  • Member
  • *****
  • Posts: 1475
  • The base type of a type is the type itself
    • SmplMath macros
Re: Help, Editing resource
« Reply #1 on: July 19, 2012, 08:42:24 PM »
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

  • Member
  • **
  • Posts: 80
Re: Help, Editing resource
« Reply #2 on: July 20, 2012, 02:19:41 AM »
ok but how I can do for any file? :P