Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi

I have a problem with writing to the Fs. If i code like this:

dim Elev as Integer

Elev=label13.text

Call FSUIPC_WRITE(&HBB2, 2, Elev, dwResult)

Call FSUipC_Process(dwResult)

I get everytime the error that the overload function is failed.

(I use Vb.net, Thats why I cant use VarPtr)

can anyone help?

regards,

Andreas

Posted

dim dwRsult as Integer

dim Elev as Integer

dim ElevInput as Integer

ElevInput=label13.text

Call FSUIPC_WRITE(&HBB2, ElevInput, Elev, dwResult)

Call FSUipC_Process(dwResult)

This code works! Problem Sloved

regards,

Andreas

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.