Jump to content
The simFlight Network Forums

andy85

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by andy85

  1. Thank you. I have looked in a very old list on projectmagenta website and didn't read the age of this list so I also didn't find the 66C0 - 66FF. I have the actual manual and I found the specific sites. - sorry. At first just I want to use the software for my own, but good to know that there is the possibility to get offsets to make a selfcreated program public. Thank you for helping. Andy
  2. Hi! I have just one question. Is it possible to create own offsets or are free offsets in fsuipc available to use in self-made programs. I want to link my io-card-system with a self-made program so that I can controll leds, sounds .... by own program. I found different offsets in the manual e.g. 5600 (25660) , 6640 (192), 6D00 (3712) and 8300 (11520). I think the values in brakets are the range? Is it possible to use these offsets? Thank you Andy
  3. Hi! I have a question about controlling the FS2004. With FSUIPC (Buttons + Switches) it is possible to link a joystick button with the function "Refresh Scenery". This works well. But is there also the posibility to refresh the scenery by an offset? I want to refresh the scenery by a home-made programm and not with a joystick button. Andy
  4. My target is to write a program for my cockpit without using the menus of the FS. On this program I want to set my aircraft to an airport and there on a runway. It should be like a small instructor station. So I have to know the position (longitude, latitude, altitude, heading) of each runway in FS. I read out this data with the program "Super FlightPlanner" which generates a database of all these datas from FS and allows to export this data to a csv-file. Here an example how this file looks: This is just the header: "AirportId";"RunwayId";"Lat";"Lon";"Alt";"Heading";"Surface";"Length";"Width" These are the data: "KSEA";"16L";47,447317;-122,307860;428;180,34;"ASPHALT";11893;149 "KSEA";"34R";47,447317;-122,307860;428;180,34;"ASPHALT";11893;149 "KSEA";"16R";47,450699;-122,311069;428;180,34;"CONCRETE";9419;149 "KSEA";"34L";47,450699;-122,311069;428;180,34;"CONCRETE";9419;149 You can imagine that it is really important for me that the aircraft has exactly the position on the runway. Yes, I use this information. for KSEA 34R it is N47 25.89' W122 18.48' Maybe you can explain me how I can calculate from the coordinates above (N47 25.89' W122 18.48') to that one which gives FSUIPC if I read out the position (long/lat) from my aircraft on KSEA 34R. So it will be easier for me to check and complain the data with the information read out from the FS by SuperFlightPlanner (text-file). Well I think you have more knowledge in this material then anyone else so I hope you can help me and understand my problem. Andy
  5. Hi, because of my problem: Also the Linker-problem is clear. I couln't find the package for the Borland Builder, just the normal C package. But because of your answer I found it. Now I can use the Functions. The read and write functions works well. But now I would like to read out the current position( longitude, latitude) and set a new one. But when I read out the Position of an Airport, the coordinates departs from the real out of a text-file. I give you an example: Current Airport: KSEA Runway: 34R longitude: -122,307860 latitude: 47,447317 longitude read out by FSUIPC: -122,307998333126 latitude read out by FSUIPC: 47,4314848334006 I did this "query" as you've written in your SDK-Folder. So is this a probelm with rounding? Or do you know more? Thanks, Andy
  6. Hi Pete, thanks for your quick answer. Since 1 year I´m programming with C++ in the school. But I do my best ;) The first probelm is cleared. I changed the developement environment to Borlad C++ Builder 6. The DWORD probelm disappears, it had to disappear. But now I've got a linker error. I don´t know why. I did all steps from the README-File. I insered the LIB and Header file into my source folder I included the header in my source module(s) and I added the Lib to my Project. The Error-Message says: [Linker Error] 'Path\FSUIPC_USER.lib' contains ivalid OMF record, type 0x21 (possibly COFF) Does I have to include a DLL-File or do you know what is wrong? Thank You Andy
  7. Hi, thanks for answering quickly. I included the "GAUGES.H" File into my Project. But the old Error still exists. A second Error-Message appears: "'DWORD' is declared several times" It is also declared in "windef.h". Now I don't know what to do. Thank You Andy
  8. Hi, first of all I´m new in this forum and I would like to write some small programms for the Flight Simulator 9 with FSUIPC. I've already dowloaded the FSUIPC SDK. Then I've included the c++ Demo Source into my development environment which is called: Borland Turbo c++ During Compiling, there appears an error message: "Error in Declarationsyntax". I've got the impression, that my development environment can't work with the datatyp "DWORD". Does anybody know this problem or does anybody even have a solution? Thank you Andy
×
×
  • 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.