Click to See Complete Forum and Search --> : HOW TO make a dll with icons and HOW TO use it ?


StéphaneDebono
April 14th, 1999, 08:09 AM
Hi,

I want to make a dll for icons, like the ones in Windows (moricons.dll, ...) in Visual C++ 5.0.
However, I don't know how to make it and how to use it !

So if you have some Visual C++ 5.0 projects for me or some tutorials dealing with this subject, it would be great for me to get it.

Waiting for your help.

Best Regars,

Stéphane.

jason mullings
April 14th, 1999, 09:51 AM
Create a regular DLL using AppWizard and add icons to its resource file.

Then in an application use LoadLibrary to load the DLL and use ::LoadIcon to load the icon passing in the instance handle returned by LoadLibrary.