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 and Dev-C++ problem

Featured Replies

Hi,Has anybody managed to get it to work with Dev-C++?I try to build the Open and Close example, it compiles OK, but the Linker complains with the following messages:undefined refrence to 'SimConnect_Open@24'undefined refrence to 'SimConnect_Close@4'while I have put SimConnect.lib in the project directory and have add it to the Linker command...?I thought it might be the COFF vs OMF problem, and tried the Borland version of the library, but that was no solution.Nicohttp://www.nicokaan.nl

  • Commercial Member

>I try to build the Open and Close example, it compiles OK, but>the Linker complains with the following messages:>>undefined refrence to 'SimConnect_Open@24'>undefined refrence to 'SimConnect_Close@4'>>while I have put SimConnect.lib in the project directory and>have add it to the Linker command...Aren't they references to C++ procedures? I think you need to tell the compiler/linker that they are C, not C++. That should have been accomplished by the SIMCONNECTAPI declaration in front of each declaration in SimConnect.h.You will see that SIMCONNECTAPI is defined just before the declarations as:#if !defined(SIMCONNECTAPI)#define SIMCONNECTAPI extern "C" HRESULT __stdcall#endifMaybe your compiler doesn't understand "C"?RegardsPete

Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

  • Author

Hi Pete,Thanks for your help.Yes my compiler understands C.... its'a C/C++ compiler.I have linked C functions to a C++ program before, actually that 's what I'm also doing with my FSCONV program (in C++) using FSUIPC.Any other ideas?Nicohttp://www.nicokaan.nl

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.