Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLL woes

Status
Not open for further replies.

GaryC123

Programmer
Sep 10, 2002
1,041
NO
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
%>

 
Dunno man, I didn't register mine and I'm getting a With block error and can't get rid of the thing now :)

01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111
The never-completed website:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top