>Does anyone know how to use the ASP build-in objects (like the Response, Request) within a fox dll? In VB it is simple to use them. CreateObject does not work.
>I wan't to create a dll in an ASP-page and let the dll handle the Request and Response.
You can pass the object's reference as parameters to the method.
From ASP:
myVFPdll = server.createobject(myProgID)
myVFPdll.somemethod Response, Request
In VFP method:
Parameters myResponse, myRequest
with myResponse
.write('Hello World')
endwith
Michael McLain