CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    12

    HOW TO make a dll with icons and HOW TO use it ?

    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.




  2. #2
    Join Date
    Apr 1999
    Posts
    2

    Re: HOW TO make a dll with icons and HOW TO use it ?

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured