Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does VFP allow multithreading in V6.0 SP3?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00413258
Message ID:
00413557
Vues:
22
>>>>>Thanks Craig, so, we can not use them from VFP?
>>>>
>>>>Yes, you can. But to get multi-threading, you have to run them under MTS.
>>>
>>>That it what I meant.
>>>It is MTS only? What about calling them from VB or VC?
>>
>>VFP DLLs are COM so you can call them from any language or application that supports COM servers. This includes VB, VC++, Delphi, Excel, Word, and a number of others.
>
>Thanks again Craig, but I what I was asking is about the multi-threading capabilities.
>If I call a VFP multi-threading dll from any application that supports COM servers (except VFP itself), do they benefit of its multi-threading capabilities? or it is only possible running it under MTS?
>TIA

We need to clarify what is happening in a VFP MT-DLL. It isn't multi-threading in the normal sense. It is really apartment model threading. You aren't going to spawn multiple threads and allow a single instance of the DLL to simultaneously run more than one thread for the same instance of an application.

And yes, you need to run the DLL under MTS or Component Services in Win2K.

You should take a look at the Readme and help files that ship with SP3. They contain lots of information that will helpe you.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform