apartments Questions

9

Solved

Can you explain STA and MTA in your own words? Also, what are apartment threads and do they pertain only to COM? If so, why?
Trescott asked 24/9, 2008 at 13:40

1

Solved

I'm getting very confused about whether C# marshal's COM objects between threads. To this end I have an application which is loading a set of files in a task parallel fashion. I'm using the StaTask...
Tessie asked 16/7, 2014 at 12:2

1

Solved

Some time ago, I had to modify an old COM DLL (Visual C++ 2010, ATL) migrating it from "Apartment" threading model to "Both", i.e. it can now be called from both STA and MTA threads without seriali...
Libeler asked 20/9, 2013 at 8:49

2

Solved

I am using the technique shown in WebBrowser Control in a new thread Trying to get a screen-scrape of a webpage I have been able to get the following code to successfully work when the WebBro...

1

Solved

I have a few questions about Apartments: Was this model introduced for COM purposes only? Can you point to good resources about them? From a thread safety standpoint what does it mean that a comp...
Whencesoever asked 18/12, 2010 at 8:1

2

Solved

Come across what looks at first sight like an MT-issue, but I'm trying to understand in detail the STA model used by COM+. Effectively, I have a legacy COM+ component, written in VB6, that calls i...
Ashanti asked 29/6, 2009 at 10:4

5

Solved

Possible Duplicate: Could you explain STA and MTA? All ThreadPool threads are in the multithreaded apartment. --As per the MSDN What does that mean? I am really concerned with w...
Homosexual asked 27/1, 2009 at 20:27
1

© 2022 - 2024 — McMap. All rights reserved.