HighTechTalks DotNet Forums  

COM interop and multithreading?

Dotnet Framework (Component Services) microsoft.public.dotnet.framework.component_services


Discuss COM interop and multithreading? in the Dotnet Framework (Component Services) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Ales Pour
 
Posts: n/a

Default COM interop and multithreading? - 07-25-2003 , 04:41 AM






Hello,

I'm trying to use COM interop to work with Tibco (kind of message bus).
Everything seems to work fine when it all happens in one thread (tibco
open -> create transport -> create message -> send message). But when I
attempt eg. send a message from another thread, send operation blocks
forever.
Since I'm no COM guru, I have no idea whether it is a problem of COM in
general or .NET COM Interop or Tibco COM library itself. Can anyone point me
to right direction where the problem could be? Thank you very much!

Regards,
Ales Pour



Reply With Quote
  #2  
Old   
Ales Pour
 
Posts: n/a

Default Re: COM interop and multithreading? - 07-25-2003 , 05:13 AM






Well, MTAThread attribute solves my problem.

Sorry to have disturbed you...

-AlesP

"Ales Pour" <pour (AT) systinet (DOT) com> wrote

Quote:
Hello,

I'm trying to use COM interop to work with Tibco (kind of message bus).
Everything seems to work fine when it all happens in one thread (tibco
open -> create transport -> create message -> send message). But when I
attempt eg. send a message from another thread, send operation blocks
forever.
Since I'm no COM guru, I have no idea whether it is a problem of COM in
general or .NET COM Interop or Tibco COM library itself. Can anyone point
me
to right direction where the problem could be? Thank you very much!

Regards,
Ales Pour





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.