mIRC Homepage

Icons in DLLS

Posted By: MTec89

Icons in DLLS - 07/12/03 01:44 AM

does any one have an example of icons in DLL's for mirc, with source... im using MSVC++ if that matters
im just trying to make a dll with icons in it, so i can use them in mirc, nothing more
Posted By: Narusegawa_Naru

Re: Icons in DLLS - 07/12/03 03:50 AM

what you want is a resource only dll. when you start a new project theres several options (empty project,export symbols,..) select resource only. This strips alot of the startup code normally found in a dll. Since you wont be using it for code you dont need it and it saves a bit a space.

to actually add the icons go into RE (resource explorer) right click and select add new. in the dialog click import (might have to drop down the types box to ico). locate the icon you want and your good.
Posted By: MTec89

Re: Icons in DLLS - 07/12/03 06:18 AM

thanks, i got it working:)
Posted By: Narusegawa_Naru

Re: Icons in DLLS - 07/12/03 06:20 AM

on a small side note there are several small and free applications you can use to make icon library packages (.icl) wich in this case would be the exact same thing since your not using the dll for code. It may be possible to make the icl even smaller than you would with a dll. you could even rename it to .dll if you wanted smile
Posted By: MTec89

Re: Icons in DLLS - 07/12/03 07:23 AM

well i want to expirement with stuff..a friend wants sounds in a dll.. possible or not im willing to try..just dont have any sounds, dont know how to play them..
© 2019 mIRC Discussion Forums