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++ Runtime Library Buffer Overrun

Featured Replies

Hi,I have written a gauge in GDI+ that compiles and runs fine. I kept adding things to draw, arrays of points, etc until I recieved a BufferOverrun message from FS9.exe when loading my gauge. After this, I proceeded to delete half of the drawing code, leaving me with far less code and arrays then were executed on previous successful executions of the gauge. Any ideas as to how to correct this?-Jon

Sounds like either a wild pointer, or a GDI memory leak somewhere. Make sure you free all GDI resources you allocate, preferably as soon as you're done with them (don't instantiate across callbacks.

I did a quick check and confirmed that if you have a null pointer assignment in a gauge, you will trigger this error within FS9.

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.