M
Mousam
Hi All,
I am developing an Excel Addin in COM technology using C++. My
Plugin uses one Active X control (loads this Active X control in a
dialog) and one COM DLL.
Threading model of my plugin is Both.
Threading model of active X control is Both.
Threading Model of COM DLL is Free.
In this configuration everything is working fine, but I am not able to
understand why it is working fine because as far as I know Excel runs
in Single threaded apartment and therefore my plug in will also load
in Single Threaded apartment. So How my plugin is able to load a DLL
which is free threaded.
Also If I change the threading model of active X control to 'Free'
then while showing the Dialog, Excel Crashes. Can any one tell me why
it is happening?
Can any one please tell me why plugin is able to load a free threaded
COM DLL but failed to load a free threaded Active X control?
Any help or pointer will be greatly appreciated.
Thanks & Regards,
Mousam Dubey
I am developing an Excel Addin in COM technology using C++. My
Plugin uses one Active X control (loads this Active X control in a
dialog) and one COM DLL.
Threading model of my plugin is Both.
Threading model of active X control is Both.
Threading Model of COM DLL is Free.
In this configuration everything is working fine, but I am not able to
understand why it is working fine because as far as I know Excel runs
in Single threaded apartment and therefore my plug in will also load
in Single Threaded apartment. So How my plugin is able to load a DLL
which is free threaded.
Also If I change the threading model of active X control to 'Free'
then while showing the Dialog, Excel Crashes. Can any one tell me why
it is happening?
Can any one please tell me why plugin is able to load a free threaded
COM DLL but failed to load a free threaded Active X control?
Any help or pointer will be greatly appreciated.
Thanks & Regards,
Mousam Dubey