Re: VC++ 6.0 Compiler Issues
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Wed, 21 Mar 2007 14:51:46 -0500
Where did you do the #define? It has to be in stdafx.h before the #include of windows.h
to have any effect. It also requires you have the correct platform SDK. Note that the
latest platform SDKs are incompatible with VS6. If you have not set up your directories
so that your latest Platform SDK is ahead of all other search paths that might have
<windows.h> in them, then it might pick up an older one (such as the one delivered with
VS6)
joe
On 21 Mar 2007 10:01:29 -0700, "one-trick-pony" <worldofpain.aamir@xxxxxxxxx> wrote:
Greetings,Joseph M. Newcomer [MVP]
I am trying to compile a code that uses Win32 API function
DeleteVolumeMountPoint. I get error which says "undelcared identifer
DeleteVolumeMountPoint". I ran PSDK setup. I then updated the
compiler to point to new directories with PSDK header files from Tools-
Options->Directories Tab and added in paths to newer header files andmoved it all the way up so compiler finds it to be the first entry to
use. Furthermore, I also typed this macro on top of my program,
#define _WIN32_WINNT 0x0501
I am developing an MFC based application. I will be running this in
Windows 2003 Server OS and Windows XP environments. The weird thing
is when I run this in console based application it runs fine. What is
causing it to not compile under MFC based application? I will
appreciate any help. Thanks.
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: VC++ 6.0 Compiler Issues
- From: one-trick-pony
- Re: VC++ 6.0 Compiler Issues
- References:
- VC++ 6.0 Compiler Issues
- From: one-trick-pony
- VC++ 6.0 Compiler Issues
- Prev by Date: Re: Getting AdjustWindowRect() to work correctly ???
- Next by Date: Re: Using Get() and Set() instead of accessing the variable directly
- Previous by thread: Re: VC++ 6.0 Compiler Issues
- Next by thread: Re: VC++ 6.0 Compiler Issues
- Index(es):
Relevant Pages
|