I have two news.
1) One positive
There is alternative way to detect freq under NT (see Win32Api.Hlp)
Code:
hdc = CreateIC ("DISPLAY", ByVal %NULL, ByVal %NULL, ByVal %NULL) %VREFRESH = 116 MsgBox Str$(GetDeviceCaps(hdc, %VREFRESH)) DeleteDC hdc
a) Windows 95 looks 100% stupid.
b) Windows 98 doesn't understand EnumDisplaySettings with -1 (current), but it looks that understands -2 (registry settings)
------------------
Leave a comment: