This error occures when WINVER and _WIN32_WINNT value does not compativle with OS.
We can remove this error 2 simple ways.
1. Define new WINVER and _WIN32_WINNT value on source code.
#define WINVER 0x0600
#define _WIN32_WINNT 0x0600
**0x0600 is for VISTA or Windows 2008
2. Add a command line via property page.
ALT +F7 >>Property>>C/C++>>Command Line
Add following command line
/D"WINVER"=0x0600 /D"_WIN32_WINNT"=0x0600
For more about WINVER and _WIN32_WINNT value and How to modifying,
visit following pages.
http://msdn.microsoft.com/en-us/library/aa383745.aspx
http://msdn.microsoft.com/en-us/library/6sehtctf.aspx
Thursday, October 23, 2008
[error C3861]
작성자:
scor7910
시간
9:59 PM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment