Jump to content
The simFlight Network Forums

KWB

Members
  • Content Count

    9
  • Joined

  • Last visited

  • Days Won

    1

KWB last won the day on April 29 2018

KWB had the most liked content!

Community Reputation

1 Neutral

About KWB

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  • Location
    Germany
  1. First of all thanks for the hints. Just to make sure, for my test I use a connection via "WideFS Client", for the code I use the SDK from here: http://www.schiratti.com/dowson.html The info is just to avoid that I use some wrong version or code base Here is where it fails in read, I have just placed a single line for test purposes in my read function. I open in my object's connect function, then I call my read function: FSUIPC_Read(0x0238, 3, localFsTimeRaw, &dwResult); ==> calls if (!m_pView) { *pdwResult = FSUIPC_ERR_NOTOPEN; <-- returns this value ret
  2. Question: What is the scope of an FSUIPC_Open? Hint: Using the C version of FSUIPC SDK with FSX: FSUIPC 4.9.7.3 (FSX) 32 bit, my full code is attached as file. I have a small class wrapping my FSUIPC functionality. The FSUIPC_Open itself works (returns true, DWORD result is 0) I can also FSUIPC_READ in the same function, so far so good. bool CFsuipc::connect(bool force) { .... DWORD result; ... if (FSUIPC_Open(SIM_ANY, &result)) ... Now in another function (read) I rely on that opened FSUIPC connection. Still the same object in memory. bool CFsuipc::read(CSimulatedAircraft
  3. Cool. Just to confirm the above, we are using also just a single point grid.
  4. I can not exactly say, but there are already question about the function back in 2012: http://prepar3d.com/forum/viewtopic.php?t=7290
  5. On P3D there is a function for that (SimConnect_RequestGroundInfo, not compatible with FSX), new P3D API. For FSX I create a bogus AI object and query the position at its position (kind of hack but working). For the later I still search a way to create an invisible AI object https://www.fsdeveloper.com/forum/threads/invisible-or-very-small-ai-object.442575/
  6. Moved to Main Forum. Please ask questions related to FSUIPC always in Main Forum! Is there a way to get the ground elevation for a given latitude/longitude position. I need to get the current ground elevation (representing the scenery) at a given position, which is NOT my own aircraft's position and NOT the position of another AI aircraft. I know how to do it with FSX and P3d/simConnect, but need a similar function for FS9. Any hint how I can do it (if possible)?
  7. Excellent, that's it. Thanks a lot! Klaus
  8. Hi Volker, I want to set it to an arbitrary path, not to C:\Users\my name\Documents\Flight Simulator X Files When setting it in the path window the changed path settings gets lost - this is my problem. Klaus
  9. I have a very similar problem with FSC 9.2. I get the message "FSX flight plan folder unspecified! Choose <Flight Simulator X Files> manually." as well. Under load/save I do set it to the correct folder (path tab). Once I switch back to the "LOAD" tab and go back to "Paths" -> same issue. The path will always be reverted to c:\users\my name\Documents. This is how it looks in the .ini FPPATH09= FPPATH10=C:\Users\my name\Documents\ FPPATH11= FSCPLANPATH=P:\FlightSimulatorAddOns\FSC9\Flightplan\FSC SQUAWKBOXPATH=P:\FlightSimulatorAddOns\FSC9\flightplan\SquawkBox IVAOPATH=P:\Flight
×
×
  • 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.