mk,
No, that will not work. CallMethod() expects the name of a class and VCX, so it can instantiate the class before running the method. What you could do is move the code from the Addless() method to a PRG or separate class, then you could run it in ParallelFox. Note that if the existing code references controls or properties on the form, it won't work, because ParallelFox can't see the form. Consider each worker a separate instance of FoxPro.
Hope this helps,
Joel
No, that will not work. CallMethod() expects the name of a class and VCX, so it can instantiate the class before running the method. What you could do is move the code from the Addless() method to a PRG or separate class, then you could run it in ParallelFox. Note that if the existing code references controls or properties on the form, it won't work, because ParallelFox can't see the form. Consider each worker a separate instance of FoxPro.
Hope this helps,
Joel