04-09-2006 08:13 PM
04-10-2006 08:32 AM
Since they are application specific, you would be better advised to put the three bird.* files in your application (project) directory.
DLLEXPORT is defined in cvidef.h, which is partly where your problem lies. There is another problem as well, which is that since your application is using the DLL, the functions should not be declared as DLLEXPORT at all.
You will have to modify the bird.h file to get around this problem.
Replace the line
#define DLLEXPORT __declspec(dllexport) __cdecl
With the following two lines:
#undef DLLEXPORT
#define DLLEXPORT __declspec(dllimport) __cdecl
Note that 'dllimport' replaces 'dllexport'.
04-18-2006 03:29 AM