Delphi 6 mIRC DLL. - 05/01/05 12:26 PM
Hello, I searched the forums for a DLL tutorial for Delphi 6 and I now have the following.
The DLL works fine, it's basically a test DLL, when you type /dll andy.dll test it performs "/.msg $me ...".
Basically you type /dll andy.dll test.
And instead of
<Andy> ...
I get two messages
<Andy>...
<Andy>+++
Etc. It doesn't have to be "... " or even "+++" I just simply want it to send two /msg's to $me anyone any ideas?
Code:
library andy; uses Windows, SysUtils, Classes; function test(mWnd, aWnd: HWND; data, parms: PChar; show, nopause:boolean):integer; stdcall; begin StrCopy(data,'/.msg Nick ...'); Result := 2; End; exports test; {$R *.RES} begin end.
The DLL works fine, it's basically a test DLL, when you type /dll andy.dll test it performs "/.msg $me ...".
Basically you type /dll andy.dll test.
And instead of
<Andy> ...
I get two messages
<Andy>...
<Andy>+++
Etc. It doesn't have to be "... " or even "+++" I just simply want it to send two /msg's to $me anyone any ideas?