_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
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.