Re: STA to MTA
franklin gray <[email protected]> Tue, 18 Jun 2002 14:30:08 -0500
| Newsgroups | gmane.comp.windows.devel.dotnet.general |
|---|---|
| Message-ID | <[email protected]> |
Don't mix STA with meaning single threaded. You can have a STA assembly using multi-threading. -----Original Message----- From: Frank Colbert [mailto:[email protected]] Sent: Tuesday, June 18, 2002 2:01 PM To: [email protected] Subject: Re: [DOTNET] STA to MTA I guess this means I cannot use async calls offered by MulticastDelegate.BeginInvoke, EndInvoke since these are handled by a CLR threadpool presumably created as MTA? -----Original Message----- From: franklin gray [mailto:[email protected]] Sent: Tuesday, June 18, 2002 11:04 AM To: [email protected] Subject: Re: [DOTNET] STA to MTA From what I understand, the managed assemblies have to be STA for it to interop with COM objects. -----Original Message----- From: Frank Colbert [mailto:[email protected]] Sent: Tuesday, June 18, 2002 10:04 AM To: [email protected] Subject: [DOTNET] STA to MTA Hello interop experts, This is a repost from last week - reworded to be (hopefully) simpler... How can I marshal a COM interface pointer created in an unmanaged STA to a managed MTA thread? In othre words, what is the managed moral equivilent of CoMarshalInterThreadInterfaceInStream or the GIT? TIA, -Frank Colbert You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.