Search results

  1. G

    P3D v4 Can't get MapClientEventToSimEvent to work for engine failure

    Ok, when I manually induce an engine failure with this: simconnect.TransmitClientEvent(0, EVENTS.TOGGLE_ENGINE1_FAILURE, 0, NOTIFICATION_GROUPS.GROUP1, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY); Then it works. simconnect_OnRecvEvent get called when the engine fails. But when I go to failures...
  2. G

    P3D v4 Can't get MapClientEventToSimEvent to work for engine failure

    Actually, no of the events works except FLAPS_INCR. FLAPS_INCR is the only one that is working
  3. G

    P3D v4 Can't get MapClientEventToSimEvent to work for engine failure

    Hi! Im trying to get information to my application when a failure occures. This is my code: Enums: enum EVENTS { PAUSE_ON, PAUSE_OFF, TOGGLE_VACUUM_FAILURE, TOGGLE_ELECTRICAL_FAILURE, TOGGLE_PITOT_BLOCKAGE...
  4. G

    P3D v4 Getting waypoints from PMDG 737 NGX

    Hi! Im trying to get the waypoints from PMDG 737 NGX but I don't know where to start. My application connects to simconnect and get some standard info like altitude and speed etc. But I also want to get waypoints from PMDG 737 ( more exact, the next waypoint ). How would I do this? Im using C#...
  5. G

    FSX What .NET version should I use for fsx simconnect?

    Hi. I'm wondering what . NET version I should use when using the FSX simconnect . DLL?
  6. G

    FLAPS HANDLE INDEX gives strange values.

    Hi! Im getting strange values from "FLAPS HANDLE INDEX". For example when I change the flaps fast it changes from 0 to 8 and then back to 4 and so on. Is it any way to fix this? Or am I doing anything wrong?
  7. G

    Writing an application for P3D AND FSX?

    Yeah I got it to work now :D
  8. G

    Writing an application for P3D AND FSX?

    No How do I do that?
  9. G

    Writing an application for P3D AND FSX?

    I'm using c# in visual studio
  10. G

    Writing an application for P3D AND FSX?

    But that doesn't work with 2.5?
  11. G

    Writing an application for P3D AND FSX?

    Yeah, but what is the big difference? Like is the syntax different?
  12. G

    Writing an application for P3D AND FSX?

    Yeah because I'm writing a acars software and really need both fsx and p3d support
  13. G

    Writing an application for P3D AND FSX?

    But how do I know if the user got FSX or P3D? If he is using P3D he needs to use the p3d dll and if he is using fsx he needs to use the fsx dll
  14. G

    Writing an application for P3D AND FSX?

    Hi! I wonder what I have to do to make an application for both p3d and fsx. Right now I only add the reference for the P3D. Dll.. Do I have to add a reference to the fsx. Dll as well?
  15. G

    P3D v2 How to get the landing rate?

    Hi, I wonder how I can get the landing rate of the landing in simconnect. I'm guessing that I have to get the vertical speed when the wheel touch the ground but I don't know how to do that..
  16. G

    P3D v2 How to get aircrafts altitude?

    Ha! I got it to work, thank you for your help! (y)
  17. G

    P3D v2 How to get aircrafts altitude?

    Okey I think I got something. My program gets an exception at simconnect.ReceiveMessage(); + $exception {"Type 'WindowsFormsApplication1.Form1+Struct1' cannot be marshaled as an unmanaged structure; no meaningful size or offset can be computed."} System.Exception...
  18. G

    P3D v2 How to get aircrafts altitude?

    My application nev er enters the "simconnect_OnRecvSimobjectDataBytype" method..
  19. G

    P3D v2 How to get aircrafts altitude?

    Thank you for this awesome explanation! But in what variable does the information save in? Is it in that double that we create at the beginning of the application?
  20. G

    P3D v2 How to get aircrafts altitude?

    Does the altitude value from p3d save in the Double called altitude? I could really need a explanation to all this.. :p
Top