Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling COM methods from a different thread

Status
Not open for further replies.

viperpiper

Programmer
Apr 23, 2001
1
GB
Hi

I've got a client app written in C++Builder. I've got a function in my main form which calls a COM method in my server. If I call this function from a button on my main form, it works fine. If I call it from a separate thread in my client app it doesn't work (I don't get an exception, and debugging in the server end has shown me that the COM method never gets called at the server end).

I'm using Synchronize within the thread to call the method on my main form which does the COM method.

Any ideads guys?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top