General information
Category:
COM/DCOM and OLE Automation
>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? >but no page displayed What page are you expecting to see? Mark
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only