Home
Level Extreme platform
Subscription
Corporate profile
Products & Services
Login
FRANÇAIS
Home
FRANÇAIS
Level Extreme platform
Login
Best practices
Testimonials
Downloads
Articles
Subscription
Subscribe or renew
Benefits
Donate 5$
Donate 10$
Donate 15$
Donate 20$
Donate 25$
Corporate profile
Overview
Portfolio
Products & Services
Consulting services
Enterprise hosting
Web Site Hosting
Graphic design
Book publishing
Support
Troubleshooting
Problem with logins
Contact us
Legal
Copyright
Privacy policy
Terms & Conditions
Français
Call DLL from ASP page
Message
From
25/07/2001 06:24:14
Vlad Grynchyshyn
Soft Serve
Lviv
,
Ukraine
To
25/07/2001 02:11:04
David Sa
Hakiki
Surabaya
,
Indonesia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Re:
Call DLL from ASP page
Miscellaneous
Thread ID:
00534820
Message ID:
00534864
Views:
17
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.
Previous
Reply
Map
View the map of this thread
View the map of this thread starting from this message only
View
View all messages of this thread
View all messages of this thread starting from this message only
Click here to load this message in the networking platform
Level Extreme platform
Best practices
Testimonials
Downloads
Articles
Subscription
Subscribe or renew
Benefits
Donate 5$
Donate 10$
Donate 15$
Donate 20$
Donate 25$
Corporate profile
Overview
Portfolio
Products & Services
Consulting services
Enterprise hosting
Web Site Hosting
Graphic design
Book publishing
Support
Troubleshooting
Problem with logins
Contact us
Legal
Copyright
Privacy policy
Terms & Conditions
Login
Google
Copyright © 1993-2024 by Level Extreme Inc. All rights reserved · Website by
levelextreme.com