|
-
Jan 5th, 2004, 11:31 PM
#1
Thread Starter
Hyperactive Member
*RESOLVED*Using a custom DLL in ASP?
I was wondering how I would use a DLL I created with an ASP script. I tried Server.CreateObject("dllname") but it said it couldn't find the class name. I've put the DLL in the C:\WINDOWS\SYSTEM32 directory and have registered it.
Any help would be much appreciated,
cjqp
Last edited by cjqp; Jan 6th, 2004 at 11:14 AM.
-
Jan 6th, 2004, 12:34 AM
#2
Did you create the DLL? Or is it third party?If you have created it, it would be like
server.createobject("Projectname.ClassName")
If its third party dll then check the documentation, the class name would be there.
Usually its CompanyName.ProductName
eg.
Danial.DBGrid
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Jan 6th, 2004, 11:14 AM
#3
Thread Starter
Hyperactive Member
Ahh, thank you very much, was only providing the project name.
cjqp
-
Jan 7th, 2004, 02:22 PM
#4
Hyperactive Member
You don't have to put the DLL into the C:\Windows\System directory. All you have to do is register it with windows using Regsvr32.exe
-
Jan 7th, 2004, 02:23 PM
#5
Thread Starter
Hyperactive Member
Ah, makes sense. But I put it there since I know its the main DLL directory and I was trying anything to get my script to work.
cjqp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|