Path: 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: Date: 18 Mar 91 13:29:16 GMT Sender: news@hq.hq.af.mil Lines: 18 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) | `-------------------------------------------------------------------------'