General information
Category:
COM/DCOM and OLE Automation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only