>Hi Terry,
>
>>A quick google seemed to indicate that JavaScript will instanciate a foxISAPI COM (DLL).
>
>Not sure what your question is, but the above seems a little strange. JavaScript is a client side script language that runs in a browser in a strict environment and doesn't allow the creation of COM server. ISAPI DLLs are loaded by web servers and are not COM DLLs. foxISAPI is a DLL that comes with VFP and instantiates COM objects, but it's not related to JavaScript in any way.
>
>What you can do is sending a request from a JavaScript back to a VFP application that is hosted by a foxISAPI DLL. Is that what you want?
The content (on the server) in cludes a JavaScript (JS) document with this function:
function doInitialize()
{
var api = getAPIHandle();
if (api == null)
{
alert("Unable to locate the API Implementation.\nInitialize was not successful.");
return "false";
}
var result = api.Initialize("");
if (result.toString() != "true")
{
var err = ErrorHandler();
}
return result.toString();
}
In the server start folder there is a three frame page and a JSP with this
function init()
{
API_1484_11 = this.document.APIAdapter;
window.top.frames[0].document.forms[0].next.style.visibility = "hidden";
window.top.frames[0].document.forms[0].previous.style.visibility = "hidden";
}
I need to reconcile API_1484_11 - but without server pages (ASP/JSP). It could be a CGI service - but API_1484_11 needs to be a reference to my VFP rattail COM!
Thanks!
Imagination is more important than knowledge