Results 1 to 6 of 6

Thread: Not DLL again

  1. #1

    Thread Starter
    Addicted Member BarankinBeAMan's Avatar
    Join Date
    Aug 2002
    Location
    Reston,Va
    Posts
    164

    Angry Not DLL again

    I have a C++ DLL and need to load it and call some of it functions
    from another C++ program.
    I only know name of DLL and nothing else.

    What is the best way to load DLL and call its functions providing
    I do not have nor .lib file , or any functions from that DLL.
    Thank ya all !

  2. #2
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    Is this a COM or normal DLL?
    Baaaaaaaaah

  3. #3

    Thread Starter
    Addicted Member BarankinBeAMan's Avatar
    Join Date
    Aug 2002
    Location
    Reston,Va
    Posts
    164


    It is COM.

  4. #4
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    You can use OLEVIEW.EXE (after you regsiter it) to see what methods and properties it exposes.

    If you're lucky, the VB Object browser (after you reference the file in the VB IDE) may find type library information - enough to allow you to use the COM object. ...assuming you have VB

  5. #5
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    It's a bit hard to implement a COM client in C++. You have to use some COM API calls to make it easier. Check out this tutorial.
    Baaaaaaaaah

  6. #6

    Thread Starter
    Addicted Member BarankinBeAMan's Avatar
    Join Date
    Aug 2002
    Location
    Reston,Va
    Posts
    164
    Thank you

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