mIRC Home    About    Download    Register    News    Help

Print Thread
Icons in DLLS #63202 07/12/03 01:44 AM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
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


http://MTec89Net.com
irc.freenode.net #MTec89Net
Re: Icons in DLLS #63203 07/12/03 03:50 AM
Joined: Jun 2003
Posts: 195
N
Narusegawa_Naru Offline
Vogon poet
Offline
Vogon poet
N
Joined: Jun 2003
Posts: 195
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.


Have Fun smile
Re: Icons in DLLS #63204 07/12/03 06:18 AM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
thanks, i got it working:)


http://MTec89Net.com
irc.freenode.net #MTec89Net
Re: Icons in DLLS #63205 07/12/03 06:20 AM
Joined: Jun 2003
Posts: 195
N
Narusegawa_Naru Offline
Vogon poet
Offline
Vogon poet
N
Joined: Jun 2003
Posts: 195
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


Have Fun smile
Re: Icons in DLLS #63206 07/12/03 07:23 AM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
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..


http://MTec89Net.com
irc.freenode.net #MTec89Net