mIRC Homepage
Posted By: Sektor LoadDLL / UnloadDLL - 24/01/03 04:10 PM
Hi all,

I have the following problem with my dll: I have both LoadDLL and UnloadDLL like in the mIRC help file. Both functions are exported in my definitions source file with the lines:

EXPORTS
LoadDLL
UnloadDLL
DLL_ENTRY

But for some reason, LoadDLL (and UnloadDLL) are not called by mIRC. I can make a call to DLL_ENTRY without a problem and it does what it should do. It seems that mIRC is somehow not seeing the load and unload functions or refusing to call them.

Does anyone have any experience with this? What are the possible pitfalls that I should look out for? I should perhaps mention that the dll is written in MFC, but I don't see how that can be an influence. And I'm using the latest version of mIRC (6.03).
Posted By: Gon_ Re: LoadDLL / UnloadDLL - 24/01/03 04:52 PM
Do they have to be case sensitive? like:

LoadDll
UnloadDll
Posted By: Sektor Re: LoadDLL / UnloadDLL - 24/01/03 08:02 PM
My. God.

What a serious newbie mistake. I'm freakin' ashamed ...
I totally overlooked it in the help files.

Thanks a lot !!
© mIRC Discussion Forums