• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Recent content by Bert Laverman

  1. Bert Laverman

    New YouTube channel with series on programming with SimConnect

    And part 2 is now up also. Probably overdid it a bit, since it clocks in at a whopping 2 hours and a bit, but it has chapter marks, so you can easily skip to the parts you want to see.
  2. Bert Laverman

    New YouTube channel with series on programming with SimConnect

    Hi! I have created a YouTube channel named "Zen and the Art of Software Development". Apart from videos about Software Architecture and Software Development in general, I also want to make videos about writing applications that "talk" to a flight simulator. I have started a series on...
  3. Bert Laverman

    Questions about pointer to pData in MyDispatchProc1

    I won't go into the "how to correctly say this in English". Yes, you seem to understand correctly. As long as the pointer in in its generic form, only the common fields can be accessed. Once casted to the more specific form the compiler will accept you referring to the other fields. 👍
  4. Bert Laverman

    Questions about pointer to pData in MyDispatchProc1

    Hi! Yes, this is indeed the effect of "is inherited from". If you search for the SIMCONNECT_RECV_OPEN struct in the Learning Center (aka the Windows Help file of the SDK), then you'll see it is declared as: struct SIMCONNECT_RECV_OPEN : public SIMCONNECT_RECV Effectively that means that the...
  5. Bert Laverman

    P3D v5 Passing strings in SimConnect

    These functions are for blocks of data where you use variable-length strings rather than fixed-length ones, so you can conserve bytes while exchanging data with the simulator. I think you have to consider the age of the API as well as the C language. Using a block of memory where you have to...
  6. Bert Laverman

    January 2022 update for CsSimConnect

    Been silent for a while, but here is the update on what was happening: https://cssimconnect.wordpress.com/2022/01/30/january-2022-update-events-and-data-flying-around/ Cheers, Bert
  7. Bert Laverman

    Can't seem to find many airports in default scenery

    Ok, found it. There can be multiple Airports in each Subsection. Also found there are at least three different Ids for Airports; the one currently documented, a Prepar3D new addition, and an MSFS addition.
  8. Bert Laverman

    Can't seem to find many airports in default scenery

    I've been using the BGL File Format documentation to read scenery files, so I can build a list of airports and parkings. I'll use this data for a small app to test CsSimConnect, by creating an AI aircraft at user-provided parking locations. So far all is progressing nicely, and I appear to be...
  9. Bert Laverman

    FSX Info needed for add-on please

    Have you tried using the UI? I only added the README with the CLI instructions because someone told me he _only_ wanted CLI build instructions and would not accept pre-built ZIPs. I'll do a refresh of the README and verify it works, and upload a ZIP with a release build of the current state. I...
  10. Bert Laverman

    FSX Info needed for add-on please

    For an example of how to send events with CsSimConnect, please take a look at the "AutoPilotController" demo app. It uses ClientEventButtons from the CsSimConnectUIComponents package. Each button has a ClientEvent field which is initialized from the name of the event, such as "ap_master" for the...
  11. Bert Laverman

    FSX Info needed for add-on please

    Shameless plug: CsSimConnect! ;-)
  12. Bert Laverman

    FSX Info needed for add-on please

    Hey Brandon, exciting project! Throwing some questions in another direction: are you planning on writing just a driver or an application with a UI showing e.g. device and FS connectivity status? Also, are you going to code in C/C++ or C#? The thing is: you have three simulator platforms to take...
  13. Bert Laverman

    Feedback on SimConnect_SetDataOnSimObject()

    Almost all calls in SimConnect have two or three ways in which they can return a result to the caller: The call itself can fail, which generally means that required values are missing or wildly incorrect. An obvious example is an incorrect HANDLE. The call can fail validation by the simulator...
  14. Bert Laverman

    New SimConnect API for C#

    Well, for what it's worth, the pushbackHelper app won't work with Prepar3D, because of the SimConnect namespace; "Microsoft.FlightSimulator.SimConnect" vs "LockheedMartin.Prepar3D.SimConnect". Sidestepping that, let's take a snippet from the pushbackHelper's "SimConnectManager" class...
  15. Bert Laverman

    New Managed Class-Library started: CsSimConnect

    In a follow-up to my earlier question, I have actually started building a new SimConnect library in C#. The code is available on GitHub under the Apache 2.0 license, which makes it free to use also for commercial purposes, but retains the copyright. Because this is 2021 I also claimed the...
Back
Top