View Single Post

  #9 (permalink)  
Old 01-02-2005
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

Executing the lenghty code in a second thread is indeed the solution. You will have no side effects if the main application dont touch the data until the thread has finished his query.

a solution could be that the thread post a message to the main thread just before suspending (or destroying). the custom message handler in main thread can handle the data then.
Reply With Quote