Page d'accueil
Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Login
ENGLISH
Accueil
ENGLISH
Plateforme Level Extreme
Login
Pratiques d'usage
Témoignages
Fichiers
Articles
Abonnement
Abonnez-vous ou renouveller
Bénéfices
Faites un don de 5$
Faites un don de 10$
Faites un don de 15$
Faites un don de 20$
Faites un don de 25$
Profil corporatif
Aperçu
Portfolio
Produits & Services
Services experts-conseils
Service entreprise
Hébergement Site Web
Infographie
Publication de livres
Support
Troubleshooting
Difficultés pour authentifier
Contactez-nous
Légal
Copyright
Politique de confidentialité
Termes & Conditions
English
Call DLL from ASP page
Message
De
25/07/2001 06:24:14
Vlad Grynchyshyn
Soft Serve
Lviv
,
Ukraine
À
25/07/2001 02:11:04
David Sa
Hakiki
Surabaya
,
Indonésie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Re:
Call DLL from ASP page
Divers
Thread ID:
00534820
Message ID:
00534864
Vues:
16
Hi!
What about following:
SET PRINTER TO FILE c:\temp\a.tmp
SET PRINTER ON
?\Running on:
?\\<
>
SET PRINTER OFF
SET PRINTER TO
In addition, for COM objects I usually make a routine called 'WriteToLog' and use FILE/FOPEN/FCREATE/FWRITE/FCLOSE functions to manage log files.
HTH.
>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?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement
Click here to load this message in the networking platform
Plateforme Level Extreme
Pratiques d'usage
Témoignages
Fichiers
Articles
Abonnement
Abonnez-vous ou renouveller
Bénéfices
Faites un don de 5$
Faites un don de 10$
Faites un don de 15$
Faites un don de 20$
Faites un don de 25$
Profil corporatif
Aperçu
Portfolio
Produits & Services
Services experts-conseils
Service entreprise
Hébergement Site Web
Infographie
Publication de livres
Support
Troubleshooting
Difficultés pour authentifier
Contactez-nous
Légal
Copyright
Politique de confidentialité
Termes & Conditions
Login
Google
Copyright © 1993-2024 par Level Extreme Inc. Tous droits réservés · Site Web conçu par
levelextreme.com