|
-
July 9th, 1999, 11:06 AM
#1
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
-
July 9th, 1999, 02:11 PM
#2
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
-
July 9th, 1999, 03:53 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|