Iv'e made a very basic DLL with Dev-CPP that just fills data and parms to run /echo -a This is a test!.
What i'm aiming for is for my DLL to talk to my Delphi application by requesting some information and getting that back to mIRC. However my Delphi application supports WM_COPYDATA with SendMessage() API for getting information from it, this requires a callback.....
The only way as I see it to get information to mIRC is by filling the values in the function called from mIRC, but this is impossible if I need a callback function of sorts to wait for my Delphi application to send the DLL the information requested.