CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    How to link BC++ dll with VC++ ??

    I want to link DLL created in Borland C ++ 5.0 with VC++ 6.0 project. How is it possible? And also how

  2. #2
    Join Date
    Jul 1999
    Location
    India
    Posts
    51

    Re: How to link BC++ dll with VC++ ??

    The DLL you've created with Borland C++ will also have a corresponding .LIB file (created with the IMPLIB tool).All you have to do is add this LIB file into your VC project and start using the functions or classes that you've declared in the DLL. It's as simple as that. When running or distributing your VC++ application, make sure the DLL is inc

  3. #3
    Join Date
    Apr 1999
    Posts
    27,449

    Re: How to link BC++ dll with VC++ ??

    Your advice will not work. The LIB file created by Borland *is not* compatible with the Microsoft LIB file.

    What he needs to do is one of the following:

    - create the Microsoft LIB file given the DLL. The LIB program can do this, but I'm not sure of the steps involved.

    - Create a .DEF file using Borland's IMPDEF program and then include the .DEF file in the project.

    - Dynamically load the DLL and use GetProcAddress() to get the function pointers.

    Regards,

    Paul McKenzie



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

Featured