Jump to content
The simFlight Network Forums


Recommended Posts

i editted my post. the varialbe uiroll will contain the roll value in terms that are specified in the fsuipc sdk manual for programmers. dwresult simply is a variable used for success or failure

Link to comment
Share on other sites

here is my code

Public Function Plane_Bank() As Single

Dim x As Long

Dim dwResult As Long

Call FSUIPC_Read(&H57C, 4, VarPtr(x), dwResult)

Call FSUIPC_Process(dwResult)

Plane_Bank = x / 65536 / 65536 * 360

End Function

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.