Results 1 to 7 of 7

Thread: need help about type library

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Location
    Budapest, Hungary
    Posts
    5

    Unhappy

    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

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    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?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Location
    Budapest, Hungary
    Posts
    5

    Unhappy

    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]

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    What happens if you manually install the "webigen.ldap" component on that machine as well?

  5. #5

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Location
    Budapest, Hungary
    Posts
    5
    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.

  6. #6
    Hyperactive Member tumblingdown's Avatar
    Join Date
    Mar 2000
    Posts
    362
    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.

  7. #7

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Location
    Budapest, Hungary
    Posts
    5
    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
  •  



Click Here to Expand Forum to Full Width