Solved

Borland C++ 5.02

Posted on 2000-03-30
4
946 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

622 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