mIRC Homepage
Posted By: Thray DLL Help - 23/06/03 11:01 PM
Erm, I have programmed in C++ before..and such O.o
But I have no idea how to make a DLL. The helpfile in mIRC isn't quite enough for me. Here are my two questions:

(1) Is there an example DLL somewhere that I can get the source for? Learning by example is much easier ^-^

(2) Can anyone tell me where to get a good Windows compiler, preferably free (or at least under $20, I'm too poor to buy an expensive compiler just to make DLLs) I usually use C++ or C in Linux, so I never needed one...
Posted By: Online Re: DLL Help - 23/06/03 11:26 PM
1. This tutorial explains how to create dlls and mircscripts.org's DLL section contains some dlls with souce included.

2. Try Dev-C++. By the way, Breaker.dll was made with Dev-C++ therefore its source may be useful for you if you decide to use that compiler.
Posted By: Thray Re: DLL Help - 23/06/03 11:31 PM
It occurs to me that I could have found stuff like that in 10 minutes on Google. But that would have been the ten minutes I spent sitting on my ass and playing some random Half-Life mod. Thank god for forums and nice people to do the work for me.

errr..seriously though, thanks a bunch. God I'm lazy.
Posted By: codemastr Re: DLL Help - 23/06/03 11:51 PM
If you need free compilers, for whatever language, a good place to start looking is http://www.compilers.net/Dir/Free/Compilers/index.htm.
Posted By: Raccoon Re: DLL Help - 24/06/03 02:28 AM
I've been looking for a Keyboard Hook DDL for months, and nobody seems to have ever written one. DragonZap wont even respond to my query on the matter.

Anyone here ever done a system wide or remote process keyboard hook before? (Preferably the kind that doesn't crash when you press ALT+TAB and other system hotkeys)

- Raccoon
Posted By: Thray Re: DLL Help - 24/06/03 03:06 AM
I need one of those, too. To deactivate CTRL+ALT+DEL for a program I made that, except for ALT+TAB and CTRL+ALT+DEL, locks the computer for me. Ummm... I could just use Windows 2000's 'Lock' thing, but that requires too much work. I want to just have an alias to run the program.. hmm..
Posted By: codemastr Re: DLL Help - 24/06/03 04:41 PM
I did make one, but then I quickly deleted it when I realized I just wrote a keylogger. Doing something like that can be dangerous depending on how people use it.
Posted By: Raccoon Re: DLL Help - 24/06/03 08:04 PM
"Eek, I just wrote a keylogger! *delete* *delete* *delete*" blush

Heh, all I want is a keyboard odometer. It returns the number of keystrokes hit since the last query, then resets to zero. The rest I could do in script, unless one wants to calculate WPM average and the such within the DLL too.

A mouse odometer DLL would also be nice, but slightly more difficult to define, and definitely more resource intensive.

So, if you happen to have Norton Protected Recycle Bin, see if you might undelete that bit of code, ay? laugh

- Raccoon
Posted By: Thray Re: DLL Help - 26/06/03 12:53 AM
Out of curiousity, what possible use could you have for the number of keystrokes since last query? Seems kinda pointless, but there may be (probly is) a use for it I haven't thought of.
Posted By: Raccoon Re: DLL Help - 27/06/03 02:56 AM
Heh, all I want is a keyboard odometer. It returns the number of keystrokes hit since the last query, then resets to zero. The rest I could do in script, unless one wants to calculate WPM average and the such within the DLL too.
© mIRC Discussion Forums