Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Internet applications using foxisapi.dll
Message
From
25/08/1998 03:29:32
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00129338
Message ID:
00129586
Views:
24
>>Hello:
>>
>>I downloaded the foxisapi.zip from West-Wind Connection page, there is a huge document that explains how to build Internet applications using VFP, but they put some examples, and after they explain how a Frameworks helps to make life easier, I can´t use it because I don´t know wich PRG's files I should use in my project in order to use wwfoxisapi, owwrequest and wwresponse classes.
>
>All you need is wwFoxISAPI.prg, wwUtils.prg, wwAPI.prg and the WCONNECT.H
>header file. The other stuff is just samples. Finally, build a project with
>your own code and it will pull all the files needed into it on its own.
>
>You know you have the source code so you can easily figure this out! And
>reading the document will help understand what's going on as well. This is
>not a Web 101 document, but a document about how to extend FoxIsapi so you
>can be productive with it.
>
>+++ Rick ---

Hello Rick:

Sorry to bother you again, I already did what you told me but I still don´t know how can I subclass wwfoxisapi I took the example that is printes in the document:

*******
DEFINE CLASS TFirstserver AS Custom OLEPUBLIC

FUNCTION Helloworld2
LPARAMETER lcFormVars, lcIniFile, lnReleaseFlag
LOCAL lcOutput

THIS.StartRequest(lcFormVars, lcIniFile, lnReleaseFlag)

THIS.StandardPage("Hello World From Visual FoxPro",;
"This page was generated by VFP at" +time())

RETURN THIS.oResponse.GetOutput()

ENDDEFINE
*******

And pasted it in a new prg,but nothing happens, I know there is something missing, I already look over VFP documentation but it´s not very clear how would I subclass wwfoxisapi in my class. I can see that the sample is making reference to an object that is not present in this class. How do I do that??

Also every time I compile the project I get the following error:

Program c:\inetpub\scripts\wwfoxisapi.prg has the following errors:
Unknown FILETOSTR - Undefined

There is no such function, nor procedure present anywhere in my Hard drive, nor foxtools.fll???

I can make all previous examples work (The ones that don´t use the framework), but how do I use the framework in your sample.

Can you complete the code I´m missing?.

The code above is the only thing I have in my myown.PRG, Which prg. do I set as main in the project? Mine or any of yours?

Thanks a lot for all your help.
Mao
intelisoft Corporation
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform