Ok Bob: I give; I've got egg all over my face - but I didn't know you could do this. I've messed around a bit today, after reading your post, and am only having partial success. The bitmaps are definately being added to the executable now (I view the hex contents and can "see" them). However I cannot access them via the LoadBitmap() funtion unless the bitmap is dragged from the resource file to the projects main resource file, which defeats the whole purpose for this (previous attempts with LoadImage also failed). I've been searching through the docs I have available and haven't seen anything clear cut yet. You mentioned building (compiling) an res file from the rc file and then including that in the primary project - this had the effect mentioned above. Similar references suggested using rc.exe to complile the rc to an res and then use cvtres to convert it to an obj and then link it in... I've tried these and others without success. If you would like to send your thoughts without further cluttering of the piclist with this topic, my email is below (I've searched for yours over many of your posts but never found it included). Thanks for the previous post. Bruce. bbourdon@zydacron.com -----Original Message----- From: Bob Ammerman [mailto:RAMMERMAN@PRODIGY.NET] Sent: Friday, February 16, 2001 6:28 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [OT]: MS-VC6 - Resource Inclusion Question Um, I think you build a RES file from the RC file, then include the RES file in the primary project. But I could be wrong. Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) ----- Original Message ----- From: Scott Newell To: Sent: Friday, February 16, 2001 4:10 PM Subject: Re: [OT]: MS-VC6 - Resource Inclusion Question > >Bottom line is this (so far): > > * bitmap listed as a resource of the static lib: does not load. > > * bitmap listed as a resource of the main executable: always loads fine. > > > >The above two are true whether the load attempt is made in the main exe. or > >the static lib. > > > >Thoughts? > > Is the linker discarding the resources from the static library since they > appear to be unreferenced? Might want to examine the executable and check > to see that the resources are present. > > > newell > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu