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.

C++ and SDK.FlightMap.c

Featured Replies

I'm trying to expand the functionality sdk.flightmap.c and have renamed it as a C++ file - "sdk.flightmap.cpp". Now when I build I get the this error:error C2440: '=' : cannot convert from 'PVOID' to 'GPS_INFO *'snip/////////////////////////if (!gpsinfo){ MODULE_VAR var; initialize_var_by_name (&var, GPS_INFO_PANEL_VARIABLE_NAME); gpsinfo = var.var_ptr; //this line is the indicated culprit}/////////////////////////I'm very new to programming and need help to fix this.RegardsBlair

Blair,The line has to read: gpsinfo = (GPS_INFO *)var.var_ptr;You can't discard the cast like that.Doug Dawson

That fixed it. Another lesson learned. Thanks.

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.