Hi, I'm having a slight problem:
I'm trying to make an mirc dll that will simply execute and do nothing, but i can't even get that far.
Here's what I have
(filename: c:\temp\blah.cpp)
#include <windows.h>
int __stdcall test(HWND mWnd, HWND aWnd, char *data, char *params, BOOL show, BOOL nopause)
{
MessageBox(NULL, "test", "test", MB_OK);
return 3;
}
I am compiling via command line with MSVS .net 2002, with the commands:
cl /c blah.cpp
link /dll blah.obj user32.lib
everything compiles fine, and I end up with c:\temp\blah.dll. But in mIRC when i type in:
//echo -a $dll(c:\temp\blah.dll,test,_)
it says
* $dll: no such routine 'test'
A little help please??
-- fez