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.

NGX SDK

Featured Replies

Hey all.

I have bought the NGX while ago and today started working with its SDK.

I linked it to the SimConnect.lib but it says there are 8 errors with this file

 

 

 

Error 2 error C2059: syntax error : '<'..\SimConnect.lib 1

Error 3 error C2018: unknown character '0x60' \SimConnect.lib 2

Error 4 error C2470: '´' : looks like a function definition, but there is no parameter list; skipping apparent body ..\SimConnect.lib 3

Error 5 error C2059: syntax error : '>' ..\SimConnect.lib 3

Error 6 error C2059: syntax error : ';' ..\SimConnect.lib 3

Error 7 error C2630: ';' found in what should be a comma-separated list ..\SimConnect.lib 3

Error 8 error C2059: syntax error : '='..\SimConnect.lib 3

 

The file is the original one, didn't touch it

 

 

What could be the problem?

 

 

Thanks in advance

Have you added the lib directory and inc directory for the simconnect dll and lib to your projects.

 

Right click on your project - select properties.

 

C++ - General - add in the inc directory from the FSX SDK

 

Linker - General - add in the lib direcotry of the FSX SDK

  • Author

Thank you for reply

I have done what you offerd, still got 8 error just as before

 

 

Error 2 error C2059: syntax error : '<' ..\SimConnect.lib 1

Error 3 error C2018: unknown character '0x60' ..\SimConnect.lib 2

Error 4 error C2470: '´' : looks like a function definition, but there is no parameter list; skipping apparent body ..\SimConnect.lib 3

Error 5 error C2059: syntax error : '>' ..\SimConnect.lib 3

Error 6 error C2059: syntax error : ';' ..\SimConnect.lib 3

Error 7 error C2630: ';' found in what should be a comma-separated list ..\SimConnect.lib 3

Error 8 error C2059: syntax error : '='..\SimConnect.lib 3

Are you linking to the right lib?

The one at C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimConnect SDK\lib

modification date 26/09/2007

 

Also try adding the lib to the Project Properties -> Linker -> Input -> Additional Dependencies

  • Author

Hey Dario how are you?:)

 

I have made sure both directories are correct and added the the directory to input with no results.

An image with the directories is added, could you please confirm i have did it as well?

 

 

Thank you both for helping

Hey Dario how are you?:)

 

I have made sure both directories are correct and added the the directory to input with no results.

An image with the directories is added, could you please confirm i have did it as well?

 

 

Thank you both for helping

 

You have to link each lib, not the directory. At least I think so

 

vs2010linkerinput.png

  • Author

I actually didn't really understand how to do it..

Would you please explain it deeper please?

or maybe help me individually..?

  • Author

Usually i use C# so I am really not familiar with C++.

I didn't write the SimConnect.lib, its came apart of the FSX SDK

Maybe there are mistakes in my code?

Is it possible to manipulate the FMC to add in company menus or is this just for adding drivers for hardware

Ash Keelson

LIAN LI DK-02 Desk/Intel Core i7 6700K Skylake 4.0 ghz/ H110i Liquid Cooler/ ASUS Extreme VIII/ EVGA GTX 1080 8GB/ 32GB G.Skills DDR4 RAM/ Intel SSD 1TB/Samsung 1TB/ Crucial 150GB/Windows 10/Prepar3D v3.3

 

 

Ash: At this time, it is not possible to communicate with FMC or to read from CDU, all you can do is push buttons.

--Peter Fabian 
RTFM.jpg

  • Author

Could one of you upload a project which works so i will find my mistake?

 

 

Thank you

  • Author

By the way

 

If it matters, FSX and FSX SDK are not installed on the same disk

  • Author

Its not a project but only one CPP and not the entire solution.

I will have a look on your link, thank you

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.