Solved

Borland C++ 5.02

Posted on 2000-03-30
4
928 Views
Last Modified: 2011-09-20
I need to link implicitly a dll with my exe. How is this done with Borland C++ 5.02.

I have an example program written with Builder, in this program it is done (I beleave) with USELIB(..);, I need to make the same thing with Borland C++ 5.02.

Just in case. I beleave this would solve an linker error:
Unresolved external...  
0
Comment
Question by:ekinee
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
arikka earned 50 total points
ID: 2668668
1. Create import library for DLL, if did not created yet. You can do it by using IMPLIB Borland utility. This utility creates import library from the DLL.
Then add in your bc502 project this
new created import library.

That's all.
Hope it help

arikka

0
 

Author Comment

by:ekinee
ID: 2668862
Arikka, could you tell me how to use IMPLIB
0
 
LVL 2

Expert Comment

by:arikka
ID: 2669495
Say you have MyDll.Dll
So, from CMD prompt run
> implib MyDll_i.lib MyDll.dll

Take crated MyDll_i.lib (import library) and insert it into your project
0
 

Author Comment

by:ekinee
ID: 2675899
I'm thanking.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question