Solved

Borland C++ 5.02

Posted on 2000-03-30
4
916 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now