Ced Posted December 7, 2004 Report Posted December 7, 2004 Hello everyone, As a new FSUIPC user, I ask very basic questions. Sorry I downloaded the FSUIPC_SDK.zip and found an example in UIPC_SDK_C.zip showing FS and FSUIPC version as well as FS time. Everything is running fine (using Visual C++ 6.0 and FS2002) but the example interrogate offset 0238 for time and the response in the dialog box is alway zero. " Request for time ok: FS clock = 00h:00m:00s " I tried other offset but always with the same result. Can someone help me ? How can I for example read and write the bank and pitch angle of the aircraft ? Than you everybody.
Pete Dowson Posted December 7, 2004 Report Posted December 7, 2004 Everything is running fine (using Visual C++ 6.0 and FS2002) but the example interrogate offset 0238 for time and the response in the dialog box is alway zero. " Request for time ok: FS clock = 00h:00m:00s " I tried other offset but always with the same result. What does the FSUIPC LOG (in the FS modules folder) show? Are you using a user-registered copy of FSUIPC? Possibly you are not getting a proper connection because the example program is not getting access. Please try using FSInterrogate and examining its results. How can I for example read and write the bank and pitch angle of the aircraft ? Look up the offset and size and units of those in the Programmer's Guide, and read them following the methods shown and documented. But don't expect to be able to read much at all with an unregistered copy of FSUIPC. Until an unregistered FSUIPC sees a correct Access key it will only supply its version number and the FS version number. Regards, Pete
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