Re: choosing Threading model for com exe server's client
You can get the server's threading model from its source code.
It's the call to CoInitialize[Ex] that determines it. It bears no
relevance whatsoever on the choice of threading model for
your client though, so why bother?
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Alex" <Alex@discussions.microsoft.com> wrote in message
news:5B218F62-2384-4406-B39C-53713F8FA684@microsoft.com...
Hi all,
I have atl com exe server(automation and supports events also). Now,I
want to create Client application for automation server. In Client
application, to receive events from server I took simple object with
IDispEventSimpleImpl. Here, what threading model I should choose, in
client
side simple object?
I could not find exe server's components threading models anywhere in my
system including registry, idl files, _i.c files.
Where can I get the threading models info. About com components in exe
server?
--
Thanks & Regards,
Alex.