mIRC Home    About    Download    Register    News    Help

Print Thread
#31765 23/06/03 11:01 PM
Joined: Jun 2003
Posts: 114
T
Thray Offline OP
Vogon poet
OP Offline
Vogon poet
T
Joined: Jun 2003
Posts: 114
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...


-------------
I am the self-appointed God of needlessly complex mIRCscript.
#31766 23/06/03 11:26 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
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.

#31767 23/06/03 11:31 PM
Joined: Jun 2003
Posts: 114
T
Thray Offline OP
Vogon poet
OP Offline
Vogon poet
T
Joined: Jun 2003
Posts: 114
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.


-------------
I am the self-appointed God of needlessly complex mIRCscript.
#31768 23/06/03 11:51 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
If you need free compilers, for whatever language, a good place to start looking is http://www.compilers.net/Dir/Free/Compilers/index.htm.

#31769 24/06/03 02:28 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
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


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#31770 24/06/03 03:06 AM
Joined: Jun 2003
Posts: 114
T
Thray Offline OP
Vogon poet
OP Offline
Vogon poet
T
Joined: Jun 2003
Posts: 114
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..


-------------
I am the self-appointed God of needlessly complex mIRCscript.
#31771 24/06/03 04:41 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
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.

#31772 24/06/03 08:04 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
"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


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#31773 26/06/03 12:53 AM
Joined: Jun 2003
Posts: 114
T
Thray Offline OP
Vogon poet
OP Offline
Vogon poet
T
Joined: Jun 2003
Posts: 114
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.


-------------
I am the self-appointed God of needlessly complex mIRCscript.
#31774 27/06/03 02:56 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
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.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard