Click here to Skip to main content
16,007,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why the hell does the TranslateMessage() fail? Pin
Perspx13-Sep-08 9:32
Perspx13-Sep-08 9:32 
AnswerRe: Why the hell does the TranslateMessage() fail? Pin
Joseph Marzbani13-Sep-08 9:45
Joseph Marzbani13-Sep-08 9:45 
GeneralRe: Why the hell does the TranslateMessage() fail? Pin
Perspx13-Sep-08 9:48
Perspx13-Sep-08 9:48 
QuestionGetRawInputDeviceInfo' : undeclared identifier [modified] Pin
hariakuthota13-Sep-08 6:58
hariakuthota13-Sep-08 6:58 
QuestionWM_INPUT' : undeclared identifier Pin
hariakuthota13-Sep-08 5:48
hariakuthota13-Sep-08 5:48 
AnswerRe: WM_INPUT' : undeclared identifier Pin
bob1697213-Sep-08 6:14
bob1697213-Sep-08 6:14 
GeneralRe: WM_INPUT' : undeclared identifier Pin
hariakuthota13-Sep-08 20:14
hariakuthota13-Sep-08 20:14 
GeneralRe: WM_INPUT' : undeclared identifier Pin
bob1697214-Sep-08 8:03
bob1697214-Sep-08 8:03 
Most newer VC++ IDE's will place some version defines at the appropriate place in your stdafx.h file to ensure the symbols for the version of windows or IE your targeting get defined. You mentioned that you are using VC++ 6.0 in another thread so you will need the February 2003 Platform SDK in place for Windows XP symbols. (How to get the Platform SDK and getting it installed are described elsewhere on this site).

To get the symbols defined, you need to define the correct version symbols on newer IDE's. Sometimes with the Platform SDK installed and the directories listed in the proper order, you sometimes get the symbols without needing to define the symbol. (This might be due to a default version getting defined). If you still don't get the symbols defined that you desire, you can always try defining the version symbols explicitly like newer IDE's do in the stdafx.h file (I would try putting just the WINVER in, then _WIN32_WINNT, and so on until you get the symbols you need)...

// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER
#define WINVER 0x0501
#endif

#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif
AnswerRe: WM_INPUT' : undeclared identifier Pin
Hamid_RT13-Sep-08 21:42
Hamid_RT13-Sep-08 21:42 
QuestionNot able to see the WM_IMPUT in class wizard. Pin
hariakuthota13-Sep-08 5:36
hariakuthota13-Sep-08 5:36 
AnswerRe: Not able to see the WM_IMPUT in class wizard. Pin
bob1697213-Sep-08 6:15
bob1697213-Sep-08 6:15 
GeneralRe: Not able to see the WM_IMPUT in class wizard. Pin
hariakuthota13-Sep-08 6:35
hariakuthota13-Sep-08 6:35 
GeneralRe: Not able to see the WM_IMPUT in class wizard. Pin
bob1697214-Sep-08 7:51
bob1697214-Sep-08 7:51 
QuestionHow can i name of the external device connected to the system. Pin
hariakuthota13-Sep-08 5:34
hariakuthota13-Sep-08 5:34 
QuestionMouse XY coordinates are changing slightly when Left MouseButton is pressed Pin
sdancer7513-Sep-08 5:26
sdancer7513-Sep-08 5:26 
AnswerRe: Mouse XY coordinates are changing slightly when Left MouseButton is pressed Pin
Mark Salsbery13-Sep-08 8:42
Mark Salsbery13-Sep-08 8:42 
GeneralRe: Mouse XY coordinates are changing slightly when Left MouseButton is pressed Pin
sdancer7514-Sep-08 21:11
sdancer7514-Sep-08 21:11 
GeneralRe: Mouse XY coordinates are changing slightly when Left MouseButton is pressed Pin
Mark Salsbery15-Sep-08 5:16
Mark Salsbery15-Sep-08 5:16 
GeneralRe: Mouse XY coordinates are changing slightly when Left MouseButton is pressed Pin
sdancer7515-Sep-08 21:35
sdancer7515-Sep-08 21:35 
QuestionEquation Solver Pin
Hadi Dayvary13-Sep-08 1:01
professionalHadi Dayvary13-Sep-08 1:01 
AnswerRe: Equation Solver Pin
CPallini13-Sep-08 1:08
mveCPallini13-Sep-08 1:08 
GeneralRe: Equation Solver Pin
Sauce!13-Sep-08 15:49
Sauce!13-Sep-08 15:49 
GeneralRe: Equation Solver Pin
CPallini13-Sep-08 20:58
mveCPallini13-Sep-08 20:58 
QuestionHeadings on Dialog box Pin
GPat2413-Sep-08 0:24
GPat2413-Sep-08 0:24 
AnswerRe: Headings on Dialog box Pin
CPallini13-Sep-08 0:48
mveCPallini13-Sep-08 0:48 

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.