Jump to content
The simFlight Network Forums

calderoninc

Members
  • Posts

    7
  • Joined

  • Last visited

About calderoninc

  • Birthday 01/01/1970

Contact Methods

  • MSN
    dcalderonv@gmail.com
  • Website URL
    http://

calderoninc's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thankyou for your help and I am sorry to bother you. Daniel Calderon.
  2. Hello Peter, Now I can get in an int variable, some variables from FS, but I have a little problem because whe I read, for example the Throttle lever, which takes 2 bytes I get it in an int variable with a timer event, then I put it in a Label with the IntToStr() function. For a prop engine, the range for that variable is suposed to be 0-16384, but I read some kind of random values; when full throttle, sometimes appear 16384 but sometimes I see 19021824 and I do not anything, where I am wrong? Why doesn't the variable stay steady ? what does that number mean? (19021824) Thanks, Daniel
  3. Thanks and Thanks again Peter, now it worked, I learned C in the university but I wasn't too smart to manage pointers. It worked perfect. Daniel Calderon. Medellin Colombia
  4. Sorry, but that is exactly the problem I have. I'm using Borland C++ Builder, and following the example in the SDK, I try to get that variable like this: int inGear; ... ... .........FSUIPC_Read(0xBEC, 4, inGear, &dwResult) But when compiling, there is a problem because it says that it cannot convert int to void*, but if I declare inGear as a char array it works! ¿? So i get 4 independent bytes each one as an element of the char array. Where is the problem?
  5. Thanks Pete, Now I am started. but I have a problem with the reading of the variables. for example, the offset 0x0BE8 that refers to the Gear control, is suposed to be 4 bytes length ( 0=Up, 16383=Down, according to the table), so in the calling to the function FSUIPC_Read, what kind of variable Do I have to assign to get that 4 bytes, and how can I convert those 4 bytes to an integer number. Thanks Again.
  6. Hello, I am just begining in this and I have not find enough information to start. What I need is information about how to connect external programs with the FS trought FSUIPC, how to read/write values, and I need to understand what an offset is! If anyone could help me with some information, I0ll apreciate it. Thanks. Daniel Calderon Medellin - Colombia
×
×
  • 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.