Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using VFP 7 class from web server
Message
 
To
28/03/2003 14:24:18
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00771037
Message ID:
00771597
Views:
12
>>>I have a class (vcx file) whose methods return a
>>>complete html page.
>>>
>>>I need to call this class methods from a web server so that
>>>html code returned from class method call is displayed in user
>>>browser as whole html page.
>>>
>>>How to use my class from a web server ?
>>
>>If this is only one process that you need to execute, then, I would suggest to only compile that class into a COM object and just invoke it from an ASP page. But, of course, if you want to build an entire application from that, I would definitely suggest to go with a Web framework such as West Wind Web Connection, ActiveVFP and other popular around here.
>
>Michael, thank you for reply.
>
>I'm using Apache 2 Web server which does not support ASP.
>
>Which is the simplest free way to call vfp class from Apache ?
>
>Foxisapi wrong call (localhost/foxisapi.dll )causes a page fault, so I cannot use foxisapi.

Apache's ISAPI implementation is incomplete and doesn't work to spec so anything that's ISAPI based and requires persistence (as FoxISAPI does) will not work.

Web Connection does work with it in file based mode. But COM components will not work, unless you can find some scripting engine for apache that specifically supports COM (I think ActivePHP or some of hte other 'Active' products from that same company (unrelated to ActiveVFP) might)...

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform