-
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
-
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?
-
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]
-
What happens if you manually install the "webigen.ldap" component on that machine as well?
-
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.
-
What dependencies does webigen.ldap have?
td.
-
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!