Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dummy object accepting any calls
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Dummy object accepting any calls
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01153264
Message ID:
01153264
Views:
62
Hi All,

I am tring to find a way to create an object with .Net or C++ that I would use from VFP9 as a COM Object. This object would be used as a method trapping, meaning it would accept any method calls from VFP and then do someting with the call and return a result to the calling VFP program.

In VFP :
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.

Any idea how i could acheive this?
Next
Reply
Map
View

Click here to load this message in the networking platform