c++

  1. E

    FSX Gauge does not load

    Hello experts, I have developed a version of EasyFMC for Mobile, which can be used on smartphones, tablets or any other device that can run a web browser. This product uses a gauge called "Data Collector Gauge" that must be defined in the panel.cfg, an invisible gauge that reads the sim...
  2. RED COOL

    P3D v4 DLL addons logic ?

    Hello i made some addons with the simconnect api, only EXE addons i saw that some people use DLLs and i just wanted to know the DLL logic in P3D and is it just for C++ how will P3D know which class to run and will he run it for ever ? is there any way that the DLL be built in C# ? in the SDK...
  3. J

    SimConnect functions error "too many arguments" and 737NGX does not respond to Data Change Events

    Hello Simmers and Developers. After 2 years im now back in the flight simulation world. And I try now to build my own "small" homecockpit for my favourite aircraft the PMDG 737NGX. After searching for SDK for the NGX i found out really fast that the PMDG delivers SDK. So I downloaded Visual...
  4. RED COOL

    C# Error after compile / Simconnect

    Hello i made a simple test app that request speed alt hdg and ptitch of the user with the simconnect "C#" P3D v4 i compile without error but once i lunch it i get this (image attached) in the pic i use the debug mode to let you see the LOG any ideas thnx in advance :)
  5. M

    Failure management in C++ / Virtual Cockpit gauge

    Hello, I'm working on a project with all gauges animated in 3dsmax, and controlled via "animations" written in XML inside modeldef.xml. For example: <PartInfo> <Name>mach_scale</Name> <AnimLength>90</AnimLength> <Animation> <Parameter> <Code>(A:Airspeed mach,machs)...
  6. TurbofanDude

    Preventing Creep with Breaks Set and Allowing Idle Taxi

    Hey folks, Just thought I'd share this. The code below is what we used in the 717 to prevent creeping with the brakes (either parking brake or toe brakes) with high thrust to allow static takeoffs. It also allows the aircraft to continue rolling after picking up some speed taxiing, giving it a...
  7. sniperfull

    P3D v4 Errors while trying to build a C++ project using Simconnect

    i've been trying to build a project that was originally coded for 32 bit... while trying to get the code running when i selected the 64bit SimConnect.lib into the VC++ directories and Additional Include directories i got these errors while trying to build. Severity Code Description...
  8. M

    Requesting Axis/Button/Key data

    Hi folks, I'm writing a simconnect client and want to turn on and off certain joystick and keyboard inputs. Specifically, I'm masking the Joystick input and using it to control a tug instead of the aircraft, but of course, I only want to mask it while in "tug mode". It works great, but after...
  9. M

    Trouble Loading a Simconnect DLL from dll.xml

    Hi folks, I wonder if a couple of you wouldn't mind pondering my predicament for a couple minutes, I'd be exceedingly grateful: Problem: When my DLL loads, the sim freezes and never recovers. I get no errors in my simconnect log file. The last message is that the previous dll has loaded...
  10. R

    REQUIRED Visual Studio version?

    Which is the oldest supported version of Visual Studio usable to (try to) compile a C/C++ gauge for a target x64 system, using P3DV4 gauges.h? I've read 2015 is the suggested one, and it seems to be absolutely required to compile programs using SimConnect interface, but what about a simple...
  11. M

    Connect C++ variable to 3d cockpit via modeldef.xml

    Hi to all, I'm working on a 3d cockpit, following this "standard" procedure: create an XML variable in modeldef.xml file, using simulator token variables. Example: <PartInfo> <Name>needle_g_force</Name> <AnimLength>85</AnimLength> <Animation> <Parameter>...
  12. T

    C Programmer for FSX/P3D add-on

    PM if interested
  13. D

    Developers needed for permanent employment

    Hi All, First of all, I am aware it may seem a bit iffy (strange) that I don'g have a profile picture, however, I haven't had time to shrink my logo down haha. Anyways, I am new to the forum, and I can't wait to become an active contributor and member of these forums. Anyways, down to the...
  14. E

    Gauge not working on XP

    Hello, I use Microsoft Visual C++ 2010 to create my gauges. I use Windows 7 for years and everything is fine. A friend of mine tried to use one of my gauges with FS2004 and Windows XP. Bad surprise, it didn't work. fs9 says it cannot load the gauge (in the aircraft selection screen). I have an...
  15. M

    Converting HotKey Virtual Key codes to Strings and Back Again

    Hi, Thanks so much to everyone who's helped me on this forum, I hope I'm not too annoying. I'm not exactly sure where to post this, because it's not directly related to the FSX or SimConnect API, but I figure it's probably something Flight Sim developers know how to do - if there's a better...
  16. M

    Monitoring SimConnect and lost connections...

    Hi there, I have a pretty fundamental question about SimConnect that hopefully a lot of people could answer, I'd really appreciate help... I'm writing a C++ .exe SimConnect client. On establishing a connection, among other things, it requests that certain variables be sent to me every frame...
  17. M

    Set Marker Beacon State?

    Hi there, The Simconnect documentation seems to indicate that the marker beacon state should be settable, but I don't seem to be able to get it to work. Am I doing something wrong? or is the documentation in error? My code is: INT32 data = 1; SimConnect_Open(&hSimConnect, "RadioRange"...
  18. M

    Read active ADF lat/lon?

    Hi there, Is there a way to read the latitude and longitude of the tuned NDB through execute_calculator_code or similar, without going through simconnect? The simulation variables documentation lists "ADF LATLONALT:index" but I can't seem to make it work using execute_calculator_code(). is there...
  19. M

    L:var callback?

    Hi there, My name's Farley, I'm just getting into gauge programming. Quick question... In a c++ gauge, one can use "register_key_event_handler()" to register a function to be called each time a Sim Event is triggered. Also, I believe one can use SimConnect to register a function to be called...
Top