Click here to Skip to main content
15,886,110 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: function to delete a class Pin
Richard MacCutchan22-Apr-15 23:15
mveRichard MacCutchan22-Apr-15 23:15 
QuestionAlways on top (Task Manager) C# Pin
Rainsey Long25-Mar-15 5:45
Rainsey Long25-Mar-15 5:45 
AnswerRe: Always on top (Task Manager) C# Pin
Richard MacCutchan25-Mar-15 6:33
mveRichard MacCutchan25-Mar-15 6:33 
GeneralRe: Always on top (Task Manager) C# Pin
Rainsey Long25-Mar-15 7:01
Rainsey Long25-Mar-15 7:01 
GeneralRe: Always on top (Task Manager) C# Pin
Richard MacCutchan25-Mar-15 7:58
mveRichard MacCutchan25-Mar-15 7:58 
Questionwhere is WINVER set (resolved) Pin
bkelly1323-Mar-15 8:43
bkelly1323-Mar-15 8:43 
AnswerRe: where is WINVER set Pin
Richard MacCutchan23-Mar-15 22:27
mveRichard MacCutchan23-Mar-15 22:27 
AnswerRe: where is WINVER set Pin
Theo Buys2-Apr-15 0:27
Theo Buys2-Apr-15 0:27 
With visual studio "find in files", you can find all #define WINVER when look in "visual c++ include directories"

I get: winres.h, sdkddkver.h, vdssys.idl, WinDef.h, WinGDI.h, WinReg.h, WinResrc.h, winsdkver.h and WinUser.h

But you have to start follow the includes in your stdafx.h
to find the ones your application is including.
I see:
#include "targetver.h"

which includes
#include <SDKDDKVer.h>

which is one on my list and contains
#ifndef WINVER
    #ifdef _WIN32_WINNT
        // set WINVER based on _WIN32_WINNT
        #define WINVER          _WIN32_WINNT
    #else
        #define WINVER          0x0601
    #endif
#endif

So if you put in stdafx.h
#ifndef WINVER
#define WINVER 0x0400 
#endif

before
#include "targetver.h"

then it is not grey out.

modified 2-Apr-15 6:58am.

GeneralRe: where is WINVER set Pin
bkelly134-Apr-15 9:11
bkelly134-Apr-15 9:11 
QuestionUnicode and codeproject article Pin
bkelly1325-Feb-15 10:30
bkelly1325-Feb-15 10:30 
AnswerRe: Unicode and codeproject article Pin
Daniel Pfeffer25-Feb-15 21:02
professionalDaniel Pfeffer25-Feb-15 21:02 
GeneralRe: Unicode and codeproject article Pin
bkelly1326-Feb-15 3:34
bkelly1326-Feb-15 3:34 
GeneralRe: Unicode and codeproject article Pin
bkelly1328-Feb-15 10:36
bkelly1328-Feb-15 10:36 
GeneralRe: Unicode and codeproject article Pin
Daniel Pfeffer28-Feb-15 11:52
professionalDaniel Pfeffer28-Feb-15 11:52 
GeneralRe: Unicode and codeproject article Pin
Richard MacCutchan28-Feb-15 21:22
mveRichard MacCutchan28-Feb-15 21:22 
GeneralRe: Unicode and codeproject article Pin
Daniel Pfeffer28-Feb-15 22:12
professionalDaniel Pfeffer28-Feb-15 22:12 
GeneralRe: Unicode and codeproject article Pin
Richard MacCutchan28-Feb-15 22:15
mveRichard MacCutchan28-Feb-15 22:15 
GeneralRe: Unicode and codeproject article Pin
Daniel Pfeffer28-Feb-15 22:19
professionalDaniel Pfeffer28-Feb-15 22:19 
GeneralRe: Unicode and codeproject article Pin
Richard MacCutchan1-Mar-15 1:42
mveRichard MacCutchan1-Mar-15 1:42 
GeneralRe: Unicode and codeproject article Pin
bkelly131-Mar-15 5:39
bkelly131-Mar-15 5:39 
GeneralRe: Unicode and codeproject article Pin
Richard MacCutchan1-Mar-15 6:13
mveRichard MacCutchan1-Mar-15 6:13 
GeneralRe: Unicode and codeproject article Pin
bkelly131-Mar-15 15:51
bkelly131-Mar-15 15:51 
GeneralRe: Unicode and codeproject article Pin
Theo Buys13-Apr-15 4:27
Theo Buys13-Apr-15 4:27 
QuestionCAsyncSocket::Connect( (LPCTSTR) m_address, m_port_number ) Pin
bkelly1324-Feb-15 10:50
bkelly1324-Feb-15 10:50 
AnswerRe: CAsyncSocket::Connect( (LPCTSTR) m_address, m_port_number ) Pin
Richard MacCutchan24-Feb-15 22:30
mveRichard MacCutchan24-Feb-15 22:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.