The main thing to keep in mind is that the workers are separate instances of FoxPro, and ParallelFox allows communication between the instances. So, the workers cannot automatically see the "inward" cursor in the main process. You will have to open it in your worker code. Likewise, the workers cannot see "Thisform" from the main process. You should pass any values as parameters to the code you want to run in parallel (you could also pass Thisform to the worker code). I'm not sure where your delays are, but you may be able to get by just running SendEmail() in parallel.
See Parallel.CallMethod() in the Help file for the syntax to run a VCX method. Example:
Hope this helps,
Joel
See Parallel.CallMethod() in the Help file for the syntax to run a VCX method. Example:
Parallel.CallMethod("SendEmail", "MyClass", "MyClassLibrary.vcx", "MyApp.exe", .f., MyParameter1, MyParameter2)
To run ParallelFox, include ParallelFox.vcx in your project and register ParallelFox.exe. See the Deployment section in the Help file for more details.Hope this helps,
Joel