Jump to content
The simFlight Network Forums

Sascha Felix

Members
  • Posts

    296
  • Joined

  • Last visited

Everything posted by Sascha Felix

  1. Hi Paul, That was exactly the type of information I was looking for. Thank you very very much. My problem was that I wasn't sure what was meant by a "token" and that I did not understand the significance of the Get(..) functions. Now thanks to you and Peter everything is clear and I can proceed. I guess the real important information from Pete and you was that I don't save time as long as I use only one Process for multiple Reads. So I leave it that way, the code is much more readable that way. Thanks again Sascha
  2. Hi Pete, Thanks a lot for the detailed answer which despite its length did not answer any of my questions. I know about structures, arrays and all that stuff. My question was simply: if Read_FSUIPC accepts only an integer for a token (=destination), what can I do in the case of arrays (of bytes), structures or whatever. Can someone who is familiar with VB.Net and the code in the SDK package provide some sample code or hint. Thanks a lot for your help Sascha
  3. Hi, I'm writing a little program in VB.NET (2008) accessing FS values through Fsuipc.dll using the code provided in the SDK and written by Bob Scott (who adapted it from the original VB code by Chris Brett). Although I have no problems reading individual values, there are times at which I would like to read a longer block of bytes. For example, latitude, longitude, altitude, pitch, bank and heading all appear one after the other, so instead of reading all these values individually, it seems to be more time-saving to read the entire block once and then split up the bytes as I need them. The problem for me is the function Read_FSUIPC which requires an integer for the token. The Get_FSUIPC provides an overload function to copy stuff into an array of bytes, so that's no problem. But I don't know how to handle the Read_FSUIPC function. Can someone give me an example or direct me to some site where examples are available. Thanks a lot for your help Sascha
×
×
  • 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.