Even if my thread is STA, since it is a different apt. than the caller, I still have marshaling problems, no? Seems like I need CoMarshalInterThreadInterfaceInStream...
Thanks, -FC -----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.