Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DCOM/Remote Automation Problem
Message
From
14/09/2000 12:49:50
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00401852
Message ID:
00416477
Views:
30
Hi Ed,

I've been kicking around a few ideas re DCOM, and can't seem to find an answer to a basic process synchronisation problem.

If you have code like :

Do some processing stuff
if messagebox('Do you want to continue') = 'YES'
Carry on processing ...
else
Do some cleanup stuff and return
endif

and you want to put the whole thing into a remote out-of-process DCOM server, how would you handle getting some user input from the client, and then deciding what to do next?

I've thought of chopping this up into two functions or methods, with the first returning some kind of code requesting that the client call the second, passing the 'YES'/'NO' argument, but wouldn't you lose state between the two calls?

Is there some kind of standard way of doing this? I can't seem to find anything in UT, MSDN, Technet etc. etc.

Best wishes,
Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform