[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 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

[DOTNET] STA to MTA

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

[DOTNET] how to marshal STA created interface to MTA in managed code?

2002-06-14 Thread Frank Colbert
Hi, I have test client COM component created in an STA. I want to pass this interface into managed code. I then want to forward this interface on to other managed components asynchronously via BeginInvoke on a delegate object. I undertstand that the system will create MTA threads to do this an