Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prototyping a RuntimeAPI with VFP COM and foxISAPI
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00968998
Message ID:
00969345
Views:
22
Hi Terry,

> API_1484_11 = this.document.APIAdapter;

Looks to me like the APIadapter is a Java applet. In this case, it would run on the client side. If the COM object resides on the server, you have several problems to solve. First of all, you need to write your own Java applet that provides the same interface, but talks to the COM object. Or, you have to replace the various method calls with a single GET statement. What you cannot do is to get a reference to the COM object, because the reference is needed on the client, whereas the object sits on the server.

Either the Java applet, or the Javascript code needs to consolidate all object accesses and submit a single request to the server. On the server you need some sort of backend that supports the creation of VFP COM objects. This can be foxISAPI, ASP, PHP, or any of the FoxPro web products.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform