Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One client and two servers
Message
From
22/02/2006 08:36:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
One client and two servers
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01098071
Message ID:
01098071
Views:
56
I have a client program that creates two remote servers. Both servers are given a reference to the client for callbacks.

oClient.Server1 = CREATEOBJECTEX('{...}', 'comp1')
oClient.Server2 = CREATEOBJECTEX('{...}', 'comp2')
oClient.Server1.mGetClient(oClient)
oClient.Server2.mGetClient(oClient)

*!* Callback from the server1
oClient.mCallBack()

*!* Callback from the server2
oClient.mCallBack()

What would happen when both servers do the callback in the same time?
Am I at any danger of it?
Next
Reply
Map
View

Click here to load this message in the networking platform