mIRC Home    About    Download    Register    News    Help

Print Thread
#8091 24/01/03 04:10 PM
Joined: Jan 2003
Posts: 5
S
Sektor Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2003
Posts: 5
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).

#8092 24/01/03 04:52 PM
Joined: Dec 2002
Posts: 56
G
Babel fish
Offline
Babel fish
G
Joined: Dec 2002
Posts: 56
Do they have to be case sensitive? like:

LoadDll
UnloadDll

#8093 24/01/03 08:02 PM
Joined: Jan 2003
Posts: 5
S
Sektor Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2003
Posts: 5
My. God.

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

Thanks a lot !!


Link Copied to Clipboard