From d674f5fe1e87596dcb8bae588ae798b4473ce269 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 2 Apr 2013 19:43:51 +0200 Subject: Build works now --- freetrackclient/freetrackclient.cpp | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'freetrackclient') diff --git a/freetrackclient/freetrackclient.cpp b/freetrackclient/freetrackclient.cpp index ac6148e8..1a591de9 100644 --- a/freetrackclient/freetrackclient.cpp +++ b/freetrackclient/freetrackclient.cpp @@ -30,20 +30,7 @@ */ -#ifdef WIN64 -#pragma comment(linker, "/export:FTGetData") -#pragma comment(linker, "/export:FTReportName") -#pragma comment(linker, "/export:FTGetDllVersion") -#pragma comment(linker, "/export:FTProvider") -#endif - -#ifdef WIN64 -# define FT_DECLSPEC __declspec(dllexport) -#else -# define FT_DECLSPEC -#endif - -#define FT_EXPORT(t) extern "C" t FT_DECLSPEC __stdcall +#define FT_EXPORT(t) extern "C" t __declspec(dllexport) __stdcall #define NP_AXIS_MAX 16383 #include @@ -53,7 +40,7 @@ #include #include -#include "..\..\FTNOIR_PROTOCOL_FT\FTTypes.h" +#include "ftnoir_protocol_ft\fttypes.h" // // Functions to create/open the file-mapping @@ -64,7 +51,7 @@ void FTDestroyMapping(); float scale2AnalogLimits( float x, float min_x, float max_x ); float getDegreesFromRads ( float rads ); -#if 1 +#if 0 static FILE *debug_stream = fopen("c:\\FreeTrackClient.log", "a"); #define dbg_report(...) if (debug_stream) { fprintf(debug_stream, __VA_ARGS__); fflush(debug_stream); } #else -- cgit v1.2.3