|
Post Reply
Ben 2003-07-16 01:28
Hello, when I try to compile the SysInfo sample code in Visual C++ 6.0, I get a bunch of compiler errors of the "undefined identifier" type. Here are a few of the errors:
'EnumDisplayDevices' : undeclared identifier 'DISPLAY_DEVICE_ACTIVE' : undeclared identifier 'EnumDisplaySettingsEx' : undeclared identifier 'HMONITOR' : undeclared identifier
Does anyone have any ideas why Visual Studio doesn't recognize these functions? Thanks, Ben
|
Christian Studer 2003-07-16 01:34
Hi Ben,
depending on the version of the headers you are using, you might have to define WINVER manually.
Add the following line before including windows.h:
#define WINVER 0x0500
Christian Studer - www.realtimesoft.com
|
Ben 2003-07-16 05:54
Okay, I figured out what it was. I had the orginal Windows SDK from 1998. When I downloaded and installed the current SDK from Microsoft's site, and registered the new SDK with Visual Studio, then it started compiling okay. Thank you for the suggestion. I did try that, and I couldn't figure out why it wouldn't work, until I came across the SDK information somewhere.
-Ben
|
carlosgucci777 2026-04-10 22:39
Mahlzeit! Ich habe neulich von einem Arbeitskollegen in Klagenfurt einen Tipp bekommen, wo man gut Online-Slots spielen kann. Er schickte mir den Link zu chicken road und ich bin begeistert von der Auswahl. Die Grafiken sind modern und die Spiele bieten viele spannende Features. Es ist eine tolle Art, in Österreich ein bisschen Nervenkitzel zu erleben, ohne das Haus verlassen zu müssen. Ich bin mit dem gesamten Angebot dort absolut zufrieden und spiele gerne.
|
Post Reply
|