Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another COM/DCOM Question
Message
From
30/10/2000 23:29:20
 
 
To
30/10/2000 22:30:27
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00436207
Message ID:
00436212
Views:
22
>2. Would DCOM be a better way? That will mean that the sever will have at least 20 instances of the COM object (10 workstations).

Probably. This sounds like a situation that would be well suited to a MTDLL running in MTS (or COM+). Compile the exe to a multi-threaded in-proc dll, and add it to an MTS package on the server.

You should make sure that the objects methods are stateless so that they can take advantage of MTS transactions. (Call the context object's SetComplete method). For more information on MTS and VFP, read Rick Strahl's article:

http://www.west-wind.com/presentations/mts/mts.htm
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform