Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-Thread Programming in Foxpro?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00492209
Message ID:
00492453
Views:
32
>> I was wondering, is it possible to create multi-thread in Visual FoxPro using just native foxpro coding.
>
>No, not if you want to create threads in VFP. Creating threads requires a callback function, which VFP does not support. If you want to create a VFP app that can be called by multiple threads, you can compile the app to be a multi-threaded COM DLL.

Mike, glad you jumped on this matter, is so good to have members of the Fox team here.

There is a couple of Dlls made by Remus Russano here in the UT (file 1367) that
allows us to call MTDLLs using their multithreading capacity right from VFP.
I have tested them running a form from my command window and executing asynchronously up to 5 calls
to one MTDLL and it works great. No MTS required.
By the way, it is not that 5 calls is the limit, that's all I have pushed it.

To me this is a BIG thing.
So, if we can have asynchronous calls to MTDLLs from VFP using Remus' DLLs, it would be possible
to incoporate that functionality implemented in the product? VFP7? Maybe VFP7 SP1?
Maybe something as VFPCOM.dll?

...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....                       

...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
 

Ismael Rivera "Oye cosita linda"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform