[GD-Windows] Multimon compile/link hell (WINVER)
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2003-03-30 19:17:28
|
Well this is new. I'm still using MSVC 6 since I've heard too= many horror stories about 7 at this point. To gain access to Win98/2K+ functions, you have to set WINVER to= 0x0500, except that generates a huge warning during compile: "NOTE: WINVER has been defined as 0x0500 or greater which= enables Windows NT 5.0 and Windows 98 features. When these headers were released, Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the= current versions. For this release when WINVER is defined as 0x0500 or greater, you= can only build beta or test applications. To build a retail= application, set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk to see if retail Windows NT 5.0 or Windows 98 headers are= available. See the SDK release notes for more information." I have SP5 installed, and that hasn't updated the headers. I= can't find any other downloads that would be relevant, but the MSDN= site is so huge that I'm not even sure what I'm looking for. There's= nothing new under MSVC++ 6.0 updates though. A second problem is that even though it compiles, it doesn't link= in EnumDisplayDevices -- I'm linking to user32.lib, but it's way out= of date. I can GetProcAddress directly, but that's not the ideal solution (especially if I'm going to continue to run into more of= these types of problems). Anyone deal with this yet? Brian |