VFPX / ParallelFox

Parallel Processing Library for Visual FoxPro
33 stars 7 forks source link

Reference classes by This.ClassLibrary #10

Open DougHennig opened 9 months ago

DougHennig commented 9 months ago

There are several places in ParallelFox classes where an object in ParallelFox.vcx is instantiated. If the VCX isn't in the VFP search path, that causes an error. If you change those references from a hard-coded "ParallelFox.vcx" to This.ClassLibrary, then once the Parallel class is instantiated (e.g. Parallel = newobject('Parallel', 'SomeFolder\ParallelFox.vcx'), it can find its own classes without requiring the VCX be in the search path.

JoelLeach commented 8 months ago

This change will be released with ParallelFox 2.0.