Re: STA to MTA

Frank Colbert <[email protected]> Tue, 18 Jun 2002 12:03:37 -0700
Newsgroups gmane.comp.windows.devel.dotnet.general
Message-ID <[email protected]>
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.