Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM shares client data session
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00271639
Message ID:
00274527
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform