I'll try re-posting with a diff spin
Given a COM object passed to managed code via an interface method param, is
there any way for me to tell whether the COM object was created in an STA or
MTA? What I really want to do is the managed version of
CoMarshalInterThreadInterfaceInStream, but ther
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 canno
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]
Subj
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
>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,
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?