Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does a COM server know which client Fn to call back
Message
 
À
25/12/2000 21:55:59
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00456181
Message ID:
00456864
Vues:
27
There is one onbard CALLBACK with VFP 6, (i thinks its a call back): COMRETURNERROR()

>>>That's not quite how a call back works, nor does it accomplish the same thing. There are many methods for a server process to determine what code the client runs, but allowing the server process to actually invoke the routine is what's needed. Your code sample simply invokes a synchronous method in the server and uses the return value to decide which procedure to call, but does nothing to determine when it should run.
>>
>>A call back works more like ON ERROR (i guess).
>
>Hmm, I don't see the similarity...
>
>>Larry forwarded a URL to VFPCOM - I'll check that guy out. Thats what we need, an ON EVENT service!!
>
>Yeah, we're getting native event binding in VFP7 with the EventHandler function.
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform