🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WinAPI Function to modify EXE resources

#217
From: Rick Francken
Date: Sat, 24 Jan 2004 15:24
17 lines
1710 bytes
Check out the "imagehlp.pas" file in the Delphi source.  I can't remember
the exact APIs available, but it is the wrapper for Imagehlp.dll, which
allows you to work with the Portable Executable format.

Regards,

-Rick Francken

"Richard Cox" <rpcox@traqs.com> wrote in message
news:40128add@newsgroups.borland.com...
> 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.
Technical Details
Message-ID: <40128e2c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.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 07:39:26 PST
From: "Rick Francken" <rick@example.com>
Newsgroups: borland.public.delphi.nativeapi
References: <40128add@newsgroups.borland.com>
Subject: Re: WinAPI Function to modify EXE resources
Date: Sat, 24 Jan 2004 10:24:53 -0500
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 208.26.41.97
Message-ID: <40128e2c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074957868 208.26.41.97 (24 Jan 2004 07:24:28 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail