RamManohar

Hi,

I am trying to access a COM Interop parameter created in main thread inside a separate thread thru Invoke method but inside the delegate function i get the right values but after that it changes the value and the value goes to invalid value inside the second thread.

Does anybody have any solution for this

Regards

Ram manohar



Re: Visual C# General Cross thread COM interop issue

TaylorMichaelL

There is insufficient information to help you. What kind of COM object are you talking about (ActiveX, COM object, UI, etc) Can you post some code that is having the problems What do you mean by the values are invalid Who and how is the code invoked. Where did you get the COM parameter from

Michael Taylor - 10/17/07

http://p3net.mvps.org