Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Multi threaded COM DLL & MTS
Message
De
30/01/2001 17:52:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00470268
Message ID:
00470389
Vues:
40
>Hi All,
>
>Is there a possibility to use multi threaded com dll's from VFP in Microsoft Transaction Server (MTS) with the possibility to use the functions of MTS to remove the objects from the servers memory (like setcomplete, etc) and to prevent the object is used to much times than needed.
>
>Thanks in advance,
>
>Sander Bouwmeester

Yes. You just grab a reference to the context object from your server's method:

oMTX = CREATEOBJECT("MTXAS.AppServer.1")
oCTX = oMTX.GetObjectContext()
oCTX.SetComplete()
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform