I have a large vfp 7 application myapp.exe file which contains one olepublic class, myclass .
I call this class from Apache 2 using
https://localhost/foxisapi.dll/myapp.myclass.myprocThis call takes 20 seconds (!) and only after that it returns correct data.
If I run modified foxweb sample shipped with vfp by calling
https://localhost/foxisapi.dll/foxweb.server.helloit returns data immediately. (I modified foxweb sample to return http headers).
Any idea why foxisapi.dll delays result ?
myproc code:
LPARAMETERS p1,p2,p3
p3=0
this.cLastErrorMsg = ''
rv = "HTTP/1.1 200 OK" + CHR(13)+CHR(10)
rv = m.rv + "Content-Type: text/html" + CHR(13)+CHR(10)
rv = m.rv + "Expires: Sunday 15-May-94 14:00:01 GMT" + CHR(13)+CHR(10) + CHR(13)+CHR(10)
m.rv = m.rv + "< HTML>< body>< pre>"
rv = rv + TRANSFORM(p1)+TRANSFORM(p2)+TRANSFORM(p3)
m.rv = m.rv + "< /pre></ body>< /HTML>"
RETURN this.cLastErrorMsg+ ' '+rv
Andrus