Re: Two ATL COM objects running simultaneously
Make sure you are not using a mutex or critical section to serialize
the method calls yourself. Other than that, I don't see how this
could happen... Perhaps try this with a client different than ASP
to ensure the clients aren't somehow serialized.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"danmih" <danielmihalache@gmail.com> wrote in message
news:1149775940.350041.312370@i39g2000cwa.googlegroups.com...
Hi Alexander,
I create my COM object and then I call the method almost simultaneously
in two ASP pages.
The method does nothing but Sleep(3000) and then returns.
In the ASP page I display the time before and after calling the method
and I can see that the method in the second page starts after the first
one has finished.
In my CServiceModule I call CoInitializeEx with COINIT_MULTITHREADED
and I have defined _ATL_FREE_THREADED
Any suggestion is welcome.
Thanks,
Daniel
Alexander Nickolov wrote:
How do you determine them to be sequential? What do these
methods do?
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================