Captain Llama
13 Jun 2007, 17:35
Hello,
I'm using Visual C++ 2005 Express Edition to develop an add-on for Flight Sim X using SimConnect. Every time I try to compile it, I get a huge list of errors related to simconnect.h. I get 171 errors in total, so I pasted only a couple of them here:
simconnect.h(30) : error C2146: syntax error : missing ';' before identifier 'SIMCONNECT_OBJECT_ID'
simconnect.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
simconnect.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
simconnect.h(408) : error C2065: 'MAX_PATH' : undeclared identifier
simconnect.h(456) : error C2146: syntax error : missing ';' before identifier 'rgbData'
simconnect.h(456) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
simconnect.h(456) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
simconnect.h(481) : error C2146: syntax error : missing ';' before identifier 'guidInstanceId'
Does anyone know why this is happening?
Thanks
I'm using Visual C++ 2005 Express Edition to develop an add-on for Flight Sim X using SimConnect. Every time I try to compile it, I get a huge list of errors related to simconnect.h. I get 171 errors in total, so I pasted only a couple of them here:
simconnect.h(30) : error C2146: syntax error : missing ';' before identifier 'SIMCONNECT_OBJECT_ID'
simconnect.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
simconnect.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
simconnect.h(408) : error C2065: 'MAX_PATH' : undeclared identifier
simconnect.h(456) : error C2146: syntax error : missing ';' before identifier 'rgbData'
simconnect.h(456) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
simconnect.h(456) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
simconnect.h(481) : error C2146: syntax error : missing ';' before identifier 'guidInstanceId'
Does anyone know why this is happening?
Thanks