Bill,
>So I either need a way,
from a VFP test program to create the request object, and populate it (the subject of my other thread), or emulate it(the subject of this thread). I can't see any way to test from a real ASP page, and still have access to my code, since I can't call my COM server from ASP except from its .dll (and so I can't use the debug environment).
You might get a jump start on this with Web Connection. Rick changed the objects and properties in version 3 to more closely match ASP-style syntax. Inside the WC Process class, which acts on a web hit, you have a Response and Request object, which are visible to programs called from there, and you're totally in a VFP environment for debugging purposes.
For example, look at:
http://www.west-wind.com/webconnection/docs/wwrequestform.htmhttp://www.west-wind.com/webconnection/docs/wwrequestquerystring.htmhttp://www.west-wind.com/webconnection/docs/wwrequestservervariables.htmhttp://www.west-wind.com/webconnection/docs/wwresponsewrite.htmFrom the WC docs:
Active Server Object Naming ConventionsObjects in the framework have been renamed and methods adjusted to reflect Active Server object names. So now you have Request, Server, Session and Response objects with methods that somewhat match the ASP equivalents. Web Connection of course provides much more functionality ontop of the base features that ASP provides. Server Variable names now also use the same names as ISAPI/CGI and ASP values. All of this should make it easier to switch between Web Connection and ASP applications as well as providing additional reference material in standard Microsoft documentation about what server variables return.
Direct support for Active Server PagesYou can now use an ASP page to call a Web Connection component. Although this is less efficient than using the Web Connection ISAPI DLL directly it does provide better integration with ASP. New wwASPRequest class handles access for the ASP Request object in WWWC.
In addition many object names have been renamed to match Active Server Page objects and method/property names.