Information générale
Catégorie:
Applications Internet
>Are you using Foxisapi ?? I belive it comes with 5.0 ...
>
>Yes... there is a sample and docs in ..\vfp\samples\servers\foxisapi
No, I am not using FoxAPI. I am trying to create a simple OLE Automation object in VFP and instatiate it on the web via VBScript and ASP:
%
Dim oVFP
Set oVFP = CreateObject("Test1.Test")
%
Result = % = oVFP.Calc() %
The object works when I do it from the VFP Command Window or from a Visual Basic Standard EXE. Running this on the server hangs up IIS 4.0, and I eventually have to reboot the server to set things straight again. I must be missing something obvious. Microsoft Knowledgebase article Q168053 says I can do this. I even tried their example, and it did the same thing.
I am using this approach versus FoxAPI, because I want to share my object with other desktop applications. Do you have any other ideas?
Thanks for the reply!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement