🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1707

Reading an ICON from an executable other than your own?

#1707
From: kilmer
Date: Mon, 18 Mar 1991 13:29
18 lines
1224 bytes
I was wondering if anyone had figured out how to read in an ICON from 
an .EXE file other than the one that you're executing.  Sort of like the
way the program manager change's an ICON in one of its groups to be any 
.EXE's ICON (so long as it has a resource attached to it). How is this done???
I've seen nothing on it in the windows DOC. I assume you would have to read
the file's header and from that find the offset to the resource section, and
then look for ICON resources? maybe...

I would really appreciate any replies.  

Thanks,

Richard Kilmer
--
-------------------------------------------------------------------------.
|  Richard Kilmer                           Kilmer@Opsnet-Pentagon.af.mil |
|  VAX Systems Analyst                            (AKA Kilmer@26.24.0.26) |
`-------------------------------------------------------------------------'
Technical Details
Message-ID: <kilmer.669302956@sysp1>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sun-barr!ames!dftsrv!hq!sysp1!kilmer

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sun-barr!ames!dftsrv!hq!sysp1!kilmer
From: kilmer@hq.af.mil
Newsgroups: comp.windows.ms.programmer
Subject: Reading an ICON from an executable other than your own?
Message-ID: <kilmer.669302956@sysp1>
Date: 18 Mar 91 13:29:16 GMT
Sender: news@hq.hq.af.mil
Lines: 18