Gil wrote:
> Yes, i've tried to find some tutorial about DLL with DEVCPP, but i did't
> find anyone.
> My problem is a lin pb (for more explanations, see my previous thread:
> link pb with DLL).
> I attach my code.
Okay, the problem when building the DLL was, that you didn't specify
-DBUILDING_DLL=1 for C++ compiler, and your code is C++. So add it, and
then the dll will build just fine.
The testapp is okay, but I'd recommend including dll.h this way:
#include "dll.h"
not this:
#include <dll.h>
It's only a minor glitch.
I hope I could help.
--
Greetings,
Balázs
|