Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone doing multithreading in VFP?
Message
From
23/05/2009 14:54:00
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01401052
Message ID:
01401666
Views:
89
>No problem.
>
>I added to this to my copy of the documentation:
>
>**** Important note about registering the two DLLs. Msvcp70.dll and MSVCR70.dll MUST both be in the same directory as these two DLLs in order to be able to register the vfpmtapp.dll. It will fail otherwise.
>
>Took a little time to figure that out. :-)
>
>I worked up a few POCs in testing it. If you run into any difficulties, I'd be happy to send them to you for examples.
>
>-m@

Thanks for the kind offer. I'd be more than glad to receive any bit of documentation and assistance that you could offer.

As for the Msvcp70.dll and MSVCR70.dll, I don't have them in the same folder as the other two dlls and the latter registered fine. Not sure what was going on when you tried it, but, as long as you got it to work that's a good thing.

Thus far, I've been able to modify my code to have some background work execute while my main VFP app continues on. It's been trial and error so far, but most of the issues is me not calling it correctly. I'm making progress though.

Have you ever tried to launch several background tasks with this utility? I'm finding that if I do so, each task requires it's own "oMTworker" object. Does this sound correct to you?

Thanks again for the link. It looks very promising for what I need.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform