|
From: Alain P. <ala...@ge...> - 2003-11-17 12:46:41
|
To export a function (so that it can be called from another program), I =
use next directive :
#define LIBCOM_API __declspec(dllexport)
Then, implement your function with :
LIBCOM_API void my_function()
{
}
With this directive, I cann call the function in the DLL from another =
program.
Best regards.
----- Original Message -----=20
From: mg=20
To: dev...@li...=20
Sent: Friday, November 14, 2003 7:05 PM
Subject: [Dev-C++] DLL
I'd like to compile a DLL in Dev-Cpp, and call it from a MSVC-compiled =
program. What compiler/linker flag shoud be used? Do I need to generate =
a DEF file? Any help is greately appreciated.=20
-------------------------------------------------------------------------=
-----
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
|