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.

Why would this work in FS9 but not FSX?

Featured Replies

Just for grins I moved the FS9 airplane I'm debugging over to FSX to see what would happen...and 98 percent of it worked without a hitch! That's great news, but I have one perplexing mystery.I have a C gauge that reads a config file. It works just fine in FS9. But in FSX, it won't find its configuration file. Here's the part of the code that opens the file: GetCurrentDirectory(256, HomeDirectory); Ifile = fopen("./acme/acme.cfg", "r"); if (Ifile == NULL) return (-1);Now, there's an acme.cfg file all set up and waiting in the acme folder which I put under the main FSX folder. HomeDirectory shows the right path to the default folder. Yet under FS9 this works great, and in FSX it always returns -1. Same computer, same compiled gauge, same everything except FS9 vs FSX.Anyone have any ideas?ThanksDutch

I figured it out...I thought I'd tried everything before posting here but noooooooo. The problem was that the filename in the fopen() call is treated by windows as *case-sensitive* ... something I didn't know since filenames aren't case-sensitive in Windows. I'd created my directory as 'Acme' instead of 'acme'. Once I changed that, it found it - in the FSX root folder no less.Now it's crashing FSX, but that's obviously another problem...sure would be boring if everything worked right the first time wouldn't it?

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.