doia Posted January 29, 2010 Report Posted January 29, 2010 I am new to FSUIPC. I am using VS2008 to create a simple code in C that prints some FSX variables to the screen. I already included the FSUIPC.h in my code and saved it in the same folder as my source code, I have also established a link to the FSUIPC_User.lib under 'Project Properties'. However every time I try to compile the code I run into the same error: 1>IPCuser.obj : error LNK2019: unresolved external symbol __imp__wsprintfA referenced in function _FSUIPC_Open 1>IPCuser.obj : error LNK2019: unresolved external symbol __imp__RegisterWindowMessageA@4 referenced in function _FSUIPC_Open 1>IPCuser.obj : error LNK2019: unresolved external symbol __imp__FindWindowExA@16 referenced in function _FSUIPC_Open 1>IPCuser.obj : error LNK2019: unresolved external symbol __imp__SendMessageTimeoutA@28 referenced in function _FSUIPC_Process Has anybody else ran into this error? Please let me know if you have a solution for this.
doia Posted January 29, 2010 Author Report Posted January 29, 2010 just added this: #pragma comment(lib,"user32.lib"); under #include and now it compiles fine=) values coming in perfectly! merci
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now