Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to write isapi dll like asp3.dll or afp.dll?
Message
De
20/10/2003 21:49:23
Lu Ping
Zhuhai Tec Co.
Zhuhai, Chine
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00840166
Message ID:
00840525
Vues:
23
thanks Claude!
I see what you said.I am OK to using asp ,asp.net ,it is easy tool for me.but I want write a tool like asp or afp ,and add add some oo character into the tool.so foxisapi.cpp is just the one reference code source for me .I think the foxisapi.cpp is written in bad style.Now I use mfc to write isapi dll ,but the dll(static mfc) is large ,above 1.4meg .it is too large .maybe use ATL to write is much better .
last night I write a function to make the dll to process the url :http://localhost/vfp/house.vfp ,than output the file house.vfp's html string .it is same as asp.but now my question is the dealing with dynamic code such as vfp code script ,I have to way:
1.use vfp com+ to process the vfp code script from the .vfp web file .the isapi dll use the vfp com+ ,put vfp code script as parameter and get the html result.this way is easy ,I thinke afp is same mode.

2.write compiler for the most vfp function and son.

are there some way to process the dynamic vfp code script?

thanks in advance.

>The source code for foxisapi is included with foxpro. Through COM, you'll get the results of the web pages that you'll then extract for use in VFP. Be warned that the C++ code for this is not very easy.
>I would stick with using vfp mtdlls from ASP.NET or ASP rather than going that route. It's probably as fast or faster as foxisapi and easier to program and setup. This is also the recommended Microsoft way to create web apps with vfp...
>>I want to use vc++6 or vc++7 to write isapi dll to process vfp command ,but the hard point is:
>>
>>how can I get the content of html file?use the filter?
>>
>>thanks in advance
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform