hey
im trying to make a dll pkugin for mirc 6.16 using vc.net 2003
here's a code i wrote:
#include <windows.h>
extern "C" __declspec(dllexport) int procname(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause)
{
MessageBox(mWnd,"Mirc DLL","Mirc DLL",0);
return 1;
}
when i try to load procname using /dll mydll.dll procname it shows the messahe box but after i click ok to close it mirc crushes...
any idea why?