June 7, 200421 yr 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
June 8, 200421 yr 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.
June 10, 200421 yr 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