Re: [GD-Windows] Nasty GUI bug
Brought to you by:
vexxed72
From: Pierre T. <p.t...@wa...> - 2002-10-11 14:53:11
|
> Going to check my bounds right now. No luck so far, but BS found something in another part of my code. This is in a DX7 renderer, the code is : // Get the current display depth DEVMODE devmode; devmode.dmSize = sizeof(DEVMODE); EnumDisplaySettings(null, ENUM_CURRENT_SETTINGS, &devmode); And BS tells me : Stack memory overrun Copying 156 bytes to devmode Starting offset: 0, destination size: 148 bytes Indeed, sizeof(DEVMODE) is 148. Is it a known bug ? Looks nasty. Also, is there a way to get the internal reference count of a DLL ? ...to be continued... Pierre |