Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call DLL from ASP page
Message
De
25/07/2001 02:11:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Call DLL from ASP page
Divers
Thread ID:
00534820
Message ID:
00534820
Vues:
44
I am learning how to build a DLL that will be called by ASP pages.
For that purpose I created a very simple class with its Init method contains:
set safe off
set text to c:\temp\a.tmp
set text on
\Running on:
\\<>
set text off
set text to

Then I build DLL with "Single threaded COM server (dll)" option. I'm using VFP 6 SP3.
I also created an ASP page like this:
...
dim oMyDLL
set oMyDLL=server.CreateObject("testdll.testclss")
...
set oMyDLL=nothing
...
After registering the DLL on the web server, I called the ASP page from my PC but no page displayed. All I got is that there was a BEEP sound from the server PC (nothing on the screen though) and that the progress bar on the bottom of my IE browser moving slowly (but nothing showed up). I also noticed a new process seen on Windows Task Manager (dllhost.exe). Also, the contain of c:\temp\a.tmp didn't seem to be changed.
But if I try it directly through VFP (Command window) installed on the server everything goes as I expect. Can anybody please tell me what I miss here?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform