Re: WinAPI Function to modify EXE resources
From: Eugene Mayevski [SecureBlackbox] (mayevski_at_eldos.org)
Date: 01/24/04
- Next message: intermedia International Inc: "Re: CopyFile inexplicably fails to work"
- Previous message: Keith Giddings: "Re: Shell Extensions and Folders Inside - How?"
- In reply to: Richard Cox: "WinAPI Function to modify EXE resources"
- Next in thread: Mathias Rauen: "Re: WinAPI Function to modify EXE resources"
- Reply: Mathias Rauen: "Re: WinAPI Function to modify EXE resources"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 24 Jan 2004 18:21:16 +0200
Richard Cox wrote:
> Is there a WinAPI function which modifies resources (e.g. resource strings,
> bitmaps, icons etc.)? There are plenty for reading them (LoadResource and so
> on) but I cannot find any which modify the contents of a resource. Clearly
> it must be possible to do this, since resource editors exist which modify
> EXE files.
They handle PE files in code and parse/assemble resources internally.
WinNT/2K/XP has BeginUpdateResource/EndUpdateResource/UpdateResource
functions, but Win9x doesn't. IIRC Madshi had some implementation of
these functions which work on both Win9x and NT-based OS. Sorry, I don't
remember the URL.
-- Eugene Mayevski EldoS Corp., CTO Security and networking solutions http://www.eldos.com
- Next message: intermedia International Inc: "Re: CopyFile inexplicably fails to work"
- Previous message: Keith Giddings: "Re: Shell Extensions and Folders Inside - How?"
- In reply to: Richard Cox: "WinAPI Function to modify EXE resources"
- Next in thread: Mathias Rauen: "Re: WinAPI Function to modify EXE resources"
- Reply: Mathias Rauen: "Re: WinAPI Function to modify EXE resources"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading