Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to write isapi dll like asp3.dll or afp.dll?
Message
 
To
20/10/2003 21:49:23
Lu Ping
Zhuhai Tec Co.
Zhuhai, China
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00840166
Message ID:
00840573
Views:
17
I do VFP scripting with ActiveVFP already - check out http://www.activevfp.com/avfpdemo2/Default.aspx?action=vfpscript .
This is all Open Source and free so I can modify it any way I see fit.
Your project sounds like a great deal of work - good luck!
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform