Information générale
Catégorie:
COM/DCOM et 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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement