The answer depends both upon the DLL begin used and how you decide to use
it.
If the DLL is a package, an item created with C++ Builder or Delphi which
exports functions or classes in a program using the VCL then the compiler
documentation gives a description of how to use it.
If it is not a package then it is a normal DLL. The simple answer, assuming
that everything is already perfectly set up for you, is to include the
header file into your project and add the import library for the DLL to the
project. Unfortunately the situation is not always perfectly set up.
If it came from someone else then that person or company will supply a
header file which contains prototypes of the functions exported by the DLL.
If you wrote the DLL then you can get these function descriptions from its
source code. You can link to it implicitly or explicitly. Here is a link
to pages which go through an example of creating and using a simple, demo
DLL.
www.mulroy.org/howto10.htm
The demo creates a console mode program using the compiler's command line
tools. You could use the IDE to do it if you create the DLL and demo
program projects as console mode (File|New|Other->double click on
Console_Wizard). After reviewing the page at that link, it might be useful
to go through the whole set of pages starting at:
www.mulroy.org/howto.htm
. Ed
Quote
Maurice wrote in message
news:4528b6bb$ XXXX@XXXXX.COM ...
How do I make the functions inside a DLL available to my project? I am
using BCB6 personnal and XP. I hope I have the correct group, maybe this
should go into IDE.