Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dummy object accepting any calls
Message
 
À
13/09/2006 10:12:55
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01153264
Message ID:
01153311
Vues:
12
Thanks, I did think about doing this but the problem with it is i will have to modify all our existing programs which is a very, very big task.

>> ox = CreateObject("Server.MyProxyObject")
>> ox.NonExistingMethod(parm1, parm2)
>
>> In the COM object I need to trap what the method call is,
>> the params types and relay the call to the real object and
>> real method. Basically acting as a proxy object.
>
>How about something like
>
>ox.CallMethod("NonExistingMethod", parm1 parm2)
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform