|
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. |