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.

SimConnect c++ example "throttle control"

Featured Replies

Hello,first i have to apologize, it is a long time since i developed something for or in a windows environment.Trying to get SimConnect to work, i installed a copy of fsx, installed Sp1 and then SP2, then the SDK from the FSX DVD, then FSD SDK1a, then finally ESP SDK 2, and then ran the ConfigSDK script.Then i installed Visual C++ 2008 Express and dugg myself into the samples.I started with "Throttle Control" and selected the project. VC++ asked me if i wanted to convert to 2008 and a said yes. I assured the include and linker paths point to the right directories. Then i fired up the compiler and started the application, then started FSX.The Console output reads:Connected to FlightSimulatorReceived: 2Received: 8and then the whole thing hangs. I don't even get the message with the current throttle setting. A and Z keys also have no effect, other than a changes the view perspectives in FSX.When i close FSX, it vanishes and after a few seconds i get a window reading "Fatal error occured, FSX needs to close", with the option to send a report to MS.I tried another example, the "menu item" and this works.But i can't seem to get any data out of the sim.Does anyone know what i'm missing here?EDIT: There must be some corollary of Murphy's Law stating that the first example i try is always the one with a bug.http://forums1.avsim.net/index.php?showtop...hrottle+control

Flight instructor and commercial pilot. Flies everything that has propellers. CFI(A)-SE, CFII, CPL(A)-MEL/SEL/IR TW/CMP/HP/HA

X-Plane core team (Avionics and GPS)

CRJ-200 and 757/777 developer

Follow me on Twitter @XPlanePhil

 

Create an account or sign in to comment

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.