Jump to content
The simFlight Network Forums

[FSUIPC4] FSUIPC Option


Recommended Posts

Hello Pete

How can I write the FSUIPC option on FSUIPC4?

Write Option to FSUIPC3 works perfectly.

w = // option maske
FSUIPC_Write(0x3128,4,&w,&dwResult);
FSUIPC_Process(&dwResult);
FSUIPC_Write(0x312C,4,&w,&dwResult);
FSUIPC_Process(&dwResult);

Thx

Link to comment
Share on other sites

How can I write the FSUIPC option on FSUIPC4?

Write Option to FSUIPC3 works perfectly.

Offset 3128-312C are not supported in FSUIPC4. Please check the FSUIPC4 Offset status document.

w = // option maske
FSUIPC_Write(0x3128,4,&w,&dwResult);
FSUIPC_Process(&dwResult);
FSUIPC_Write(0x312C,4,&w,&dwResult);
FSUIPC_Process(&dwResult);

Why are you calling FSUIPC_Process for ever action? It is very very inefficient. Every time you do that there is a process change. Just do all the writes and reads you want in one batch at a time with one Process cal!

Pete

Link to comment
Share on other sites

Why are you calling FSUIPC_Process for ever action? It is very very inefficient. Every time you do that there is a process change. Just do all the writes and reads you want in one batch at a time with one Process cal!

Oh, Thanks for your help.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.