This didn´t solve the problem. This error is disabling me from using functionality defined in the dll. So my code is:
#define DLLEXPORT __declspec(dllexport)
typedef DLLEXPORT BOOL (__stdcall *sInit_PT)(void);
Generates the following error:
simcan.cpp:38: warning: 'dllexport' attribute ignored

Any ideas for a solution?