ekinee
asked on
Borland C++ 5.02
I need to implicitly link a dll with my exe in Borland C++ 5.02.
I have an example for Builder, and this does this(I beleave) with USELIB(..);
, however this is what I need, to do the same with BC++ 5.02 as USELIB does with Builder.
Error is caused by linker,
Unresolved External...
I have an example for Builder, and this does this(I beleave) with USELIB(..);
, however this is what I need, to do the same with BC++ 5.02 as USELIB does with Builder.
Error is caused by linker,
Unresolved External...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
sorry i forgot something :
define your classes as :
class _APPLI myclass.....
define your classes as :
class _APPLI myclass.....
ASKER
I'm thanking.
#if defined (MAKEDLL)
#define _APPLI __export
#elif defined (USEDLL)
#define _APPLI __import
#else
#define _APPLI
#endif
and in IDE : Options/Compiler/Defines
put MAKEDLL for the DLL
put USEDLL for the EXE
Jean-Paul