Solved

Borland C++ 5.02

Posted on 2000-03-30
4
942 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall‚Ķ
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

739 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