davidt
17 Sep 2007, 14:33
Hi,
I've been playing around with trying to use FSUIPC 4.16 (just downloaded this morning), and using the C++ library of the SDK r27.
Has anyone been using this? If so, what version of VS are you using? I've been trying with VS2005 and VC++2008 beta and been running into all sorts of errors trying to get the simple UIPCHello.cpp working.
First I had errors after creating an empty project with it complaining about the use of chars vs. LPWSTRs. I fixed that.. but then started getting an error about LIBC.lib not being found.
I wasn't sure if it was something I was doing or not, so I started a new win 32 console project, and when I include the FSUIPC_User.h file and recompile (while not even trying to make any calls), I get errors:
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(37) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Version'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(39) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_FS_Version'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(39) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(39) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(41) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Lib_Version'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(41) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(41) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(45) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Open'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(45) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(45) : error C2146: syntax error : missing ')' before identifier 'dwFSReq'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(45) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(45) : error C2059: syntax error : ')'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(46) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Open2'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(46) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(46) : error C2146: syntax error : missing ')' before identifier 'dwFSReq'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(46) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(46) : error C2059: syntax error : ')'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(48) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Read'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(48) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(48) : error C2146: syntax error : missing ')' before identifier 'dwOffset'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(48) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(48) : error C2059: syntax error : ')'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(49) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_ReadSpecial'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(49) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(49) : error C2146: syntax error : missing ')' before identifier 'dwOffset'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(49) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(49) : error C2059: syntax error : ')'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(50) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Write'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(50) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(50) : error C2146: syntax error : missing ')' before identifier 'dwOffset'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(50) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(50) : error C2059: syntax error : ')'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(51) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Process'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(51) : error C2065: 'pdwResult' : undeclared identifier
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(51) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Has anyone been able to use the C++ library?? If so, what version of visual studio? Was there anything you needed to do to get it to work? What am I missing/doing wrong here?
Thanks,
David
I've been playing around with trying to use FSUIPC 4.16 (just downloaded this morning), and using the C++ library of the SDK r27.
Has anyone been using this? If so, what version of VS are you using? I've been trying with VS2005 and VC++2008 beta and been running into all sorts of errors trying to get the simple UIPCHello.cpp working.
First I had errors after creating an empty project with it complaining about the use of chars vs. LPWSTRs. I fixed that.. but then started getting an error about LIBC.lib not being found.
I wasn't sure if it was something I was doing or not, so I started a new win 32 console project, and when I include the FSUIPC_User.h file and recompile (while not even trying to make any calls), I get errors:
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(37) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Version'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(39) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_FS_Version'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(39) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(39) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(41) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Lib_Version'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(41) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(41) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(45) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Open'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(45) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(45) : error C2146: syntax error : missing ')' before identifier 'dwFSReq'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(45) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(45) : error C2059: syntax error : ')'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(46) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Open2'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(46) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(46) : error C2146: syntax error : missing ')' before identifier 'dwFSReq'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(46) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(46) : error C2059: syntax error : ')'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(48) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Read'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(48) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(48) : error C2146: syntax error : missing ')' before identifier 'dwOffset'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(48) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(48) : error C2059: syntax error : ')'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(49) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_ReadSpecial'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(49) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(49) : error C2146: syntax error : missing ')' before identifier 'dwOffset'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(49) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(49) : error C2059: syntax error : ')'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(50) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Write'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(50) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(50) : error C2146: syntax error : missing ')' before identifier 'dwOffset'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(50) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(50) : error C2059: syntax error : ')'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(51) : error C2146: syntax error : missing ';' before identifier 'FSUIPC_Process'
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(51) : error C2065: 'pdwResult' : undeclared identifier
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\john\my documents\visual studio 2008\projects\fsuipctest4\fsuipctest4\fsuipc_user. h(51) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Has anyone been able to use the C++ library?? If so, what version of visual studio? Was there anything you needed to do to get it to work? What am I missing/doing wrong here?
Thanks,
David