|
-
July 31st, 2002, 10:43 AM
#1
how to use AWE?
Hello,
I tried to use AWE (Address Windowing Extensions) under Win2k with Visual C++ 6.0. For this I tried the example found at:
http://msdn.microsoft.com/library/de...emman_8cjd.asp
The platform SDK tells me to use the flag MEM_PHYSICAL to use AWE, but my compiler tells me it is not known. Sure there is no define for it in the header file (winnt.h).
Does anyone knows with which compiler AWE can be used or what the boundary conditions are to work with it.
Thanks for any help.
-
August 21st, 2002, 01:21 AM
#2
Make sure you add the line:
#define _WIN32_WINNT 0x0500
BEFORE you include the Windows.h header file. This will *tell* the header that you want to compile an application for Windows 2000 and later. Since AWE is only available under Windows 2000 and later, this is necessary.
- Robert
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|