Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using VFP 7 class from web server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00771037
Message ID:
00771597
Vues:
11
>>>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform