#include #define WIN32_LEAN_AND_MEAN #include #ifndef _DLL_H_ #define _DLL_H_ # if BUILDING_DLL # define DLLIMPORT __declspec (dllexport) # else # define DLLIMPORT __declspec (dllimport) # endif #endif int __stdcall Test(HWND,HWND,char *data,char*,BOOL,BOOL) { strcpy(data,"Test"); return 3; }