Jump to content
The simFlight Network Forums

Extract information about landing gear extend BORLAND C++


Recommended Posts

Mr. Dowson:

Hi, we are a sim creators group, and in this moment we make a project with the Colombian Air Force, and the T37 Aircraft.

And have a big problem with the light indication in the cockpit, when we lower and upper the gear, because we need the result and when declare the variables have han error that describe the wrong type of them.

(pDest *int to *void)

Thankful

Link to comment
Share on other sites

... when declare the variables have han error that describe the wrong type of them.

(pDest *int to *void)

A void pointer is one which can be cast into a pointer to anything. That's the whole point. Please check your C programming references. If the compiler doesn't do it automatically, try using an explicit case, but it does rather spoil the point of having void pointers in the first place.

Regards,

Pete

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.