• 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.

c# simconnect help please

Messages
3
Country
wales
hi

i am really hoping that someone can help me out here. I am new to programming and would like to make a program that reads XML from a website and places AI aircraft at given positions, then updates them as the data changes periodically.

My problem is that the simconnect SDK confuses me, all this stuff with definitions and enumerations just does not seem to make any sense.

My program flow should do this:

Loop Start
Read XML
Create AI Aircraft at Positions / OR Update Existing Ones / OR Remove
Loop End

The concept seems simple enough but I just cannot get a working version written no matter how hard I try, probably because I do not fully understand what I am doing.

Would someone be kind enough as to give me a code example to help me in the right direction. I have read all of the FSX SDK samples but these create further confusion.

I would also like make clear that I am willing to do this on my own, so its not my intention to ask for someone to write it for me, but if you could help me to understand exactly what I need I would be more greatful than words can express.

Many thanks in advance
 
Hi Lucky...

I am sorry no one has replied to your thread, but maybe we configure this out together....

I have programming experience, but by no means am I a programmer; yet! ;-) The SDK is very confusing, so don't feel bad. The number one tool and process about the SDK is GOOGLE! You also have to READ, READ and READ some more. I have seen plenty of very experienced programmers discuss their confusion and frustrations with the incomplete, and sometimes poorly worded, SDK Overview. I may be wrong here, but I believe there is a wealth of information that was excluded.

Let's start with the basics...

Which version of the SDK/FSX are you using? (i.e. FS2004, FSX RTM, FSX SP1a, FSXA, etc...)
Do you have Microsoft Visual Studio 2005/2008? Or the FREE, Express version? - you can download it from Microsoft Visual Studio.
Is there any particular reason you specify C#? As opposed to C/C++ or VB?
What is the final or desired outcome of all this? (In a bit more detail...)

Hopefully this thread will become more active, once we begin...

Sven2157
 
Back
Top