hi ppl, i am killing my brains out here with this task ... so i have a standard 32*32 16 colors (766 bytes) icon and i want to put it on any (if suports) PE. the only thing i need to know is the offset in the exe where the icon resource starts ..... can anyone help me?
Posted on 2001-05-05 16:25:00 by kP
There is no set offset in a PE file for anything except the inital headers, if you want to go about modifying PE file icons, I suggest checking out Iczlions tutourials on PE files
Posted on 2001-05-06 00:13:00 by George

 I'm not sure if an OFFSET is really an OFFSET. It could be that
 each exe file has its own offset to the ICON.

 I don't quite remember where the offset is located, but two ye-
 ars ago I once reverse someone else exe and while doing so, I -
 noticed that the ICON is located somewhere in the BEGINNING of-
 an exe file. Or, you can say that RESOURCES are being put there
Posted on 2001-05-06 00:18:00 by disease_2000
like George said, there is no set offset in PE for the EXE icon. The EXE icon is the first icon in the resource section, and not all EXEs have one. if you want to find its offset, you'd have to locate the resource section using the headers and replace the first icon (if there's one).
Posted on 2001-05-06 07:53:00 by fresh