Jump to content
The simFlight Network Forums

[FSUIPC4] FSUIPC Option


 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.