Im having some troble getting the current display setting. I've looked everywhere, but this should be the way:
DMsaved.dmSize = sizeof(DEVMODE);
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?