Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

_Module.Term() for CCOMClass is crashing when unloading the Dll at DLL_PROCESS_DETACH

22 views
Skip to first unread message

b.ragh...@gmail.com

unread,
Apr 11, 2014, 5:31:42 AM4/11/14
to
HI,
I have two COM dll which are loaded and unloaded by VB application.Firt One is unloading successfully when closing the VB application, the second one is not clsoing properly.

Else if(dwreason == DLL_PROCESSDETACH)
_Module.Term();\\Crashing here

I am porting my appication from windows 2003 OS to Windows 2008 R2 server 64 bit.
Compiler is vs2012 (Earlier application working fine on Windows 2003 OS 32 bit)

Could any one resolve my issuse will be appreciated.
0 new messages