Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Microsoft Flight Simulator 2020 & SimConnect

Featured Replies

I changed it to 1025. All seems well. See if it's a little more... stable.

 

Edited by Adrian123

  • Commercial Member
2 minutes ago, Adrian123 said:

I changed it to 1025. All seems well. See if it's a little more... stable.

 

Won't make any difference if it already worked on your system port 500. But at least that's something to apply if having issues.

Steve Waite: Engineer at codelegend.com

  • Commercial Member

The port is not an issue, unless it is already used.

But since older WORKGROUP setups allowed Prepar3D.exe and FSX.exe through the firewall, the SimConnect worked.

In more recent versions of Windows the exe programs are not automatically allowed through the firewall.

Those programs requiring network access can be added to the allowed list in Defender (or other).

Steve Waite: Engineer at codelegend.com

  • Commercial Member
1 hour ago, mpozzi said:

looks like a very old, crappy and boring platform

Which one do you mean? Google? Or P3D? SimConnect?

Anyway, as APIs go, SimConnect is quite powerful and well documented. I have seen much much worse over the years on both accounts . I like working with SimConnect and making the simulator do things that it normally doesn't, using just a few lines of code.

Best regards

Edited by Lorby_SI

LORBY-SI

1 hour ago, Lorby_SI said:

I like working with SimConnect and making the simulator do things that it normally doesn't, using just a few lines of code.

Do you have some interesting examples?  I have never used SimConnect, I didn't know it was useful standalone, i.e. just the sim and SimConnect.

My brother has Coronavirus, confirmed by testing. On 3/26 he almost didn't survive the night.  He had extreme trouble breathing and was given a steroid inhaler.  He was very weak, had nausea, and other issues that aren't pleasant.  As of this update he is feeling much better, and seems he will be fine.  Stay safe out there.  (Updated 4/6)

  • Commercial Member
37 minutes ago, GlideBy said:

Do you have some interesting examples?  I have never used SimConnect, I didn't know it was useful standalone, i.e. just the sim and SimConnect.

All my addons are interesting 😉

But I'm afraid that you are looking at it the wrong way - there is no "standalone" SimConnect. It is not a module or application, and an end user can't do anything with it. It is for developing programmatic addons only. I am "working with it" as a programmer, not as a user. 

SimConnect is the API, the "Application Programming Interface" of the ESP based sims. It is an integral part of the sim, not something separate. Many applications have APIs, they are the means of communication that the platform manufacturer provides so another program may access it.

For further reference, here is the SimConnect documentation of the current version of Prepar3D: http://www.prepar3d.com/SDKv4/LearningCenter.php (Software Development Kit (SDK) -> SimConnect API) I would have preferred to post the one from FSX, since it is probably closer to MSFS, but I can no longer find it online.

Quote

Overview

The SimConnect API can be used by programmers to write software add-on components for Prepar3D. Add-on components for Prepar3D can be written in C, C++, or, if the managed API calls are being used, any .NET language such as C#.net or VB.net.

Typically the components will perform one or more of the following:

Add the processing for a new complex gauge, or other instrument, to Prepar3D.
Replace Prepar3D processing of one or more events with new logic.
Record or monitor a scenario.
Extend the scenario system of Prepar3D.
Create and set the flight plans for AI (non-user) aircraft.
Set different weather systems.
Enable new hardware to work with Prepar3D.
Control an additional camera that the user can optionally select to view.

Best regards

 

 

Edited by Lorby_SI

LORBY-SI

2 minutes ago, Lorby_SI said:

there is no "standalone" SimConnect.

Sorry, misunderstood your statement (below)

17 minutes ago, GlideBy said:

I like working with SimConnect and making the simulator do things that it normally doesn't, using just a few lines of code.

 

I have also done programming, Basic, Cobal, Fortran, C, C++, etc, and my favorite, C#.  So I would still be interested in some examples.

My brother has Coronavirus, confirmed by testing. On 3/26 he almost didn't survive the night.  He had extreme trouble breathing and was given a steroid inhaler.  He was very weak, had nausea, and other issues that aren't pleasant.  As of this update he is feeling much better, and seems he will be fine.  Stay safe out there.  (Updated 4/6)

  • Commercial Member
6 minutes ago, GlideBy said:

I have also done programming, Basic, Cobal, Fortran, C, C++, etc, and my favorite, C#.  So I would still be interested in some examples.

I suggest that you take a look at the spec that I linked above, browse through the functionality of the API. There are a ton of examples in there too. The rest is up to your imagination, you can use the simulator as a 3D depiction engine for whatever you want to do. Or take a look at my addons, they are all 100% SimConnect'ed. Their use cases are good examples of what is possible outside of the box.

I also prefer C#, I find it is a good combination with the SimConnect API. A lot less cumbersome than C++, and Forms or WPF make for nice and easy GUIs too.

Best regards

LORBY-SI

  • Commercial Member

The Defender firewall can be checked to make sure P3D (or FSX) can communicate to other local PC's:


DefenderFirewall.jpg

 

Steve Waite: Engineer at codelegend.com

  • Commercial Member
8 hours ago, Rob_Ainscough said:

Haha, he/she/it is on planet cool-aid … 

To be fair, those coming to SImConnect from other SDKs, maybe such as CryEngine, Unity, GZDoom and similar, might have a bit of a head scratching time with SimConnect.

Steve Waite: Engineer at codelegend.com

  • 1 year later...
2 hours ago, abrahad said:

Thanks for the input, but just in case you are not aware, you have responded to a year old thread and I think that although MSFS SimConnect continues to evolve, the original questions regarding MSFS SimConnect have been answered.

Al

Edited by ark

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.