Hi
I've created a simple dll that just writes Hello World to the screen, registered it, then I call it from an ASP page and I get the error Invalid Class String. So I check the dll and see if I can delete it - no problem, except if it was really registered then I shouldn't be able to delete it.
I've had this problem before but can't remember how I solved it - Does anyone have any clues?
This is the dll, the class is called Update and the dll is called Webdesk.dll
Private MyScriptingContext As ScriptingContext
Private MyResponse As Response
Public Sub OnStartPage(PassedScriptingContext As ScriptingContext)
Set MyResponse = MyScriptingContext.Response
End Sub
Public Sub PageUpdate()
MyResponse.Write ("Hello World")
End Sub
Public Sub OnEndPage()
Set MyResponse = Nothing
End Sub
And the ASP calling page
<%
Set webdesk = server.CreateObject("webdesk.Update")
webdesk.pageupdate
%>
I've created a simple dll that just writes Hello World to the screen, registered it, then I call it from an ASP page and I get the error Invalid Class String. So I check the dll and see if I can delete it - no problem, except if it was really registered then I shouldn't be able to delete it.
I've had this problem before but can't remember how I solved it - Does anyone have any clues?
This is the dll, the class is called Update and the dll is called Webdesk.dll
Private MyScriptingContext As ScriptingContext
Private MyResponse As Response
Public Sub OnStartPage(PassedScriptingContext As ScriptingContext)
Set MyResponse = MyScriptingContext.Response
End Sub
Public Sub PageUpdate()
MyResponse.Write ("Hello World")
End Sub
Public Sub OnEndPage()
Set MyResponse = Nothing
End Sub
And the ASP calling page
<%
Set webdesk = server.CreateObject("webdesk.Update")
webdesk.pageupdate
%>