>>Several of the DLLs shipped with Windows contain multiple icon files. For example the SHELL32.dll has hundreds of ICO files contained in the DLL file.
>>I have a hand-full of ICO files that I would like to built into one of my DLL files so that I can use the ICO files from the shortcuts.
>>I can't figure out how to do it. I have added a resource to my project and added ICO files to the resource but that didn't work.
>>
>>Any assistance will be appreciated.
>>
>>Thanks,
>>Einar
>
>Hmm, I was going to suggest exactly that. Right click on the project, select properties, it has Icon when you can add it.
>
>Are you saying it doesn't work?
My approach was slightly different as I added a separate resource file to the project and added icons to it. I tried what you suggested (adding icon files to the resource file accessible from the project's property page), but it still didn't work.
When I say it didn't work here is how I qualify that. I create a short cut. Click the Change Icon button. I receive the following warning messagebox: "The file [filepath here]\MyApp.exe contains no icons. Choose an icon from the list or specify a different file."
I did get some relatively good hits when I googled it so I will research it further.
Semper ubi sub ubi.