loadPlugin and DllMain

EthanB

12-02-2011 16:28:25

I'm using MyGUI within a dll, and for some reason once I use loadPlugin to load Plugin_BerkeliumWidget.dll, my dll's DllMain with DLL_PROCESS_DETACH isn't being called, so I cant uninitialize everything properly...

Anyone know what might be causing this?

EthanB

21-02-2011 20:05:03

BUMP

Its been over a week and I still haven't been able to fix this...

Help please?

Altren

21-02-2011 21:14:46

Well, I can't say anything more useful that "look how it's done in demos". Probably you not calling unloadPlugin or call it with wrong dll name.