🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #219

Re: WinAPI Function to modify EXE resources

#219
From: Eugene Mayevski [SecureBlackbox]
Date: Sat, 24 Jan 2004 16:21
19 lines
1799 bytes
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
Technical Details
Message-ID: <40129b83@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40128add@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,c28c3756d5314995
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-24 08:39:32 PST
Date: Sat, 24 Jan 2004 18:21:16 +0200
From: "Eugene Mayevski [SecureBlackbox]" <mayevski@eldos.org>
Organization: EldoS Corporation
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, ru, en
MIME-Version: 1.0
Newsgroups: borland.public.delphi.nativeapi
Subject: Re: WinAPI Function to modify EXE resources
References: <40128add@newsgroups.borland.com>
In-Reply-To: <40128add@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 82.144.222.199
Message-ID: <40129b83@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074961283 82.144.222.199 (24 Jan 2004 08:21:23 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail