` Printed Icetips Article

Icetips Article



Par2: Linking images into apps
2005-10-12 -- Richard Rogers
 
If you have a seperate subdirectory (as I do) it will look something like:

    *.ico = %ROOT\Images; %ROOT\Template; .\Resource

The last Item is pointing to a resource directory below my app directory.

To be certain icons get added to a dll, I often use this little trick...
Create a source procedure in your dll app file and go to the data 
embeds. Press control-F and create a window structure. Add images and 
point them to your icons. That's it. The window is never called and 
never opened. But the linker will now make sure they are available when 
needed!



Printed May 2, 2024, 10:57 pm
This article has been viewed/printed 35119 times.