Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 965
  • Last Modified:

Borland C++ 5.02

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
ekinee
Asked:
ekinee
  • 2
  • 2
1 Solution
 
arikkaCommented:
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
 
ekineeAuthor Commented:
Arikka, could you tell me how to use IMPLIB
0
 
arikkaCommented:
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
 
ekineeAuthor Commented:
I'm thanking.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now