[DOTNET] STA to MTA (once more)

2002-06-18 Thread Frank Colbert
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

Re: [DOTNET] STA to MTA

2002-06-18 Thread franklin gray
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

Re: [DOTNET] STA to MTA

2002-06-18 Thread Frank Colbert
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

Re: [DOTNET] STA to MTA

2002-06-18 Thread Frank Colbert
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

Re: [DOTNET] STA to MTA

2002-06-18 Thread franklin gray
>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,

[DOTNET] STA to MTA

2002-06-18 Thread Frank Colbert
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?