Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dummy object accepting any calls
Message
 
To
13/09/2006 10:12:55
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01153264
Message ID:
01153311
Views:
11
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)
>
Previous
Reply
Map
View

Click here to load this message in the networking platform