Hello!
Im having some troble getting the current display setting. I've looked everywhere, but this should be the way:
DEVMODE DMsaved;
DMsaved.dmSize = sizeof(DEVMODE);
EnumDisplaySettings(NULL,ENUM_CURRENT_SETTINGS, &DMsaved);
BoundsChecker says:
Static memory overrun
Copying 156 bytes to rnvid_DMsaved
Starting offset: 0, destination size: 148 bytes
My program crashes later on, but I dont know if its related to this error.
Can anybody find anything wrong with this code?
Thanks!
/Fredrik Olsson



