Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DCOM/Remote Automation Problem
Message
De
14/09/2000 12:49:50
 
 
À
07/08/2000 16:22:48
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00401852
Message ID:
00416477
Vues:
29
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
Fil
Voir

Click here to load this message in the networking platform