I have an activex control which specifies its threading model as STA.
This activex control can be loaded in the browser.
Let say that there are two instances of this control in the browser,
will both the instances get a separate apartment or both lie in a
single apartment but the access to the apartment is controlled by the
proxy?
Regards
Chimanrao
Assuming both are on the same page, they'll be in the same apartment.
> but the access to the apartment is controlled by the
> proxy?
What do you mean, access to the apartment? You don't access apartment, you access COM objectcs. Also, access by whom?
Most of the time, there is no proxy invovled in the scenario you describe.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925