hi
i have a questions to UpdateResource!
i playing with UpdateResource for add files to resource in a another exe
this works succesfully
But if I had added to the file are in hex-editor of the exe file these strange strings what is this
PADD
INGXXPADDINGPADDINGXXPADDING
PADDINGXXPADDINGPADDINGXXPADDING
PADDINGXXPADDINGPADDINGXXPADDING
PADDINGXXPADDINGPADDINGXXPADDING
PADDINGXXPADDINGPADDINGXXPADDING
PADDINGXXPADDINGPADDINGXXPADDING
PADDINGXXPADDINGPADDINGXXPADDING
thanks
ragdog
It's just to take up space to keep the alignment and/or to avoid needing to resize the exe every modification.
thanks for your reply
I can delete this stuff works since the executable file without error?
You can overwrite it, since it will be ignored. If you want to remove it then you need to be careful as PE sections must be specific sizes - so you may need to rebuild the exe, not simply remove those bytes.
thanks
i have written a routine to search for paddingxx... and fill this with 0 bytes!
greets
ragdog