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.

Making a C gauge FS2002/2004 compatible

Featured Replies

  • Commercial Member

Hi all,I'm having problems getting a gauge work with FS 2002 - here's the story....I've written a C gauge (to display some flight parameters as strings in a display), using the FS9 SDK, sd2gau17 (thanks Dai btw!) and VC++.net.It's working perfectly with FS 2004, no problems here.Then I've been using the gauges.h from the FS2002 SDK, removed the FS9 specific stuff from the gauge compiled anew and tried to use it in FS 2002.FS 2002 however came up with the message that a 3rd party module cannot be loaded, the gauge is being deactivated in FS2002.Can someone please kick me into the right direction? What needs to be done to make the same C code gauge work in both sims (assuming there's no version specific code)?Thanks for any hint.CheersWolfgang

Sounds like the compiler is finding the FS9 version of gauges.h before it finds the FS8 version. Have you tried renaming the FS8 version to something more explicit?You could also try this rather ineligant approach. In the gauges.h file from the FS9 SDK, the following definitions are included:#define FS8LINK_VERSION 0x0800#define FS9LINK_VERSION 0x0900Try adding the following entries just before your gauge table entries:#undef FS9LINK_VERSION#define FS9LINK_VERSION 0x0800Doug

  • Author
  • Commercial Member

Hi Doug,thanks so far.I do think that it finds the FS8 include, just because I'm getting some compiler errors which don't appear with the FS9 version (XML variable lookups etc).But maybe it needs to pushed into it - I'll try that.CheersWolfgang

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.