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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing a method COM object

Status
Not open for further replies.

TechResearch

Programmer
Oct 4, 2002
13
CO
when I call from Visual Basic a method exposed in a dll (COM object, created with Visual C++) sometimes the method takes a lot of time to return the value. Is there a way to report back to the application after some time has elapsed so all the programing control does not rests on the dll. (So the user knows something is happening behind the scenes and the application is not frozen)
 
yes, you develop a multiple thread application so that long running processes can execute in worker threads while the UI thread remains responsive to the user.

-pete
 
Thanks, I'll try executing the time intensive part as a thread
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top