Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM shares client data session
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00271639
Message ID:
00274527
Vues:
28
>If you're using VFP 6, you can base your COM object on the Session class (rather than the usual Custom). It supports private datasessions similar to forms, but in a lightweight non-visual object. Only downside: you have to define them programmatically rather than in the Class Designer. I have no idea who thought up that lame idea [g].
>

I converted my COM object to be based on the SESSION class. It generates a cleaner MyCom.exe which registers nicely on the server and clients without the need to hack the .VBR file. I set it as Multi-User and set the datasession property to Private. It now runs a separate data session for each connection but it still instantiates one DCOM session on the server per user.
George
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform