|
-
Jan 10th, 2001, 07:31 AM
#1
Thread Starter
New Member
Aaaahhhh.... Please help me!
I've never used type libs before.
I don't know how can I install a dll where I used a type library?
I've written an ActiveX DLL wich makes an LDAP authentication through ADSI.
It uses the "Active DS Type Library".
How can I makes an installable reference (dll, ocx) from it?
So when I install on an other machine the package, it stops with error at the activeds.tlb
Thank you, and sorry about my English grammar.
ICQ#: 533 686 65
-
Jan 10th, 2001, 11:00 AM
#2
Guru
You should be able to reference the Typlib just like you would a COM object. All you have to do is make sure that the appropriate libraries are installed on your clients machine. What is the exact error that you are getting? Do your clients have ADSI installed? What O/S?
-
Jan 10th, 2001, 11:40 AM
#3
Thread Starter
New Member
This is the error:
http://marlok.my.hu/setup_error.jpg
I'm developing on a win2000pro with VB6. And I can't insall the package onto my own machine too.
So I tried it an other way:
--------------------------------
I've installed the MS ADSI (Active Directory Service Interface)then I've registered my dll with regsvr32 onto the other machine.
The asp says:
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid ProgID.
(Line 19)
19. Set ldapchecker = Server.CreateObject("webigen.ldap")
20. checked_e = ldapchecker.check_member(strLDAPHost, strLDAPCred, strPassword, 1)
--------------------------------
I've written a container for my dll and it runs correctly on my machine.
The other machine says: Cannot create object. So, there isn't correctly installed my dll and it's dependency (activeds.tlb) 
Thank You for the help
[Edited by tasm_ on 01-10-2001 at 12:26 PM]
-
Jan 10th, 2001, 11:28 PM
#4
Guru
What happens if you manually install the "webigen.ldap" component on that machine as well?
-
Jan 11th, 2001, 03:02 AM
#5
Thread Starter
New Member
I can register my dll (webigen.dll). (dll registered successfully...)
But the system says: "Cannot create object!" at this row:
ldapchecker = CreateObject("webigen.ldap")
It works properly on my system, where I've developed it.
So I think something is not registered corretcly.
-
Jan 11th, 2001, 05:51 AM
#6
Hyperactive Member
What dependencies does webigen.ldap have?
td.
"One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig
[email protected]
"but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.
-
Jan 11th, 2001, 06:32 AM
#7
Thread Starter
New Member
only the activeds.tlb (Active Directory Service Type Library)
Success! The dll call works!
I cleared it's entires from the registry, then register it again with regsvr32!!! 
The setup program fails, but this isn't problem at the moment...
But the LDAP says: Automation error The authentication mechanism is unknown.
From the container exe it works properly.
I hope this will a solvable problem... Maybe I am mistaken... (Then I will open a new thread..) 
Thank you everybody for the help!
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
|