>
>However, I still haven't managed to crack the multithreading in VFP issue. I recall you saying somewhere that you were also interested in finding a solution to this problem so I thought you might like to know how far I have got at the moment.
>
>I can create a number of .exe (out-of-process) worker threads each of which has a 1ms timer which effectively creats a new thread and returns control to the main process. Now this works well in that each does it's own thing and they do not interfere with each other.
>
>If Main calls a method in Worker1 the processing does actually happen in Worker1, I have checked this in task manager. Problem is that Main is blocked until Worker1 has finished the method. Any idea how to call a method via COM without waiting for the result?
Hi Nick,
I did some testing with that COM component and didn't see main application waiting for Worker thread to complete. Can you post a sample code that I can run and repro your problem?
--sb--