Click here to Skip to main content
16,005,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to convert CString to int MFC 7.1 Pin
PJ Arends10-Mar-07 12:55
professionalPJ Arends10-Mar-07 12:55 
GeneralRe: How to convert CString to int MFC 7.1 Pin
Ravi Bhavnani10-Mar-07 14:39
professionalRavi Bhavnani10-Mar-07 14:39 
AnswerRe: How to convert CString to int MFC 7.1 Pin
Christian Graus10-Mar-07 10:28
protectorChristian Graus10-Mar-07 10:28 
AnswerRe: How to convert CString to int MFC 7.1 Pin
Hamid_RT11-Mar-07 6:39
Hamid_RT11-Mar-07 6:39 
AnswerRe: How to convert CString to int MFC 7.1 Pin
Mark Salsbery11-Mar-07 8:59
Mark Salsbery11-Mar-07 8:59 
Questionneed help on detecting the insertion of a USB device Pin
sowhat_8210-Mar-07 8:56
sowhat_8210-Mar-07 8:56 
AnswerRe: need help on detecting the insertion of a USB device Pin
prasad_som10-Mar-07 18:15
prasad_som10-Mar-07 18:15 
QuestionPredefined Macros Pin
sawerr10-Mar-07 8:49
sawerr10-Mar-07 8:49 
Hi I am trying to understand macros. All tutorials tell that:
-----------------------------------
An object-like macro definition replaces a single identifier with the specified replacement tokens. The following object-like definition causes the preprocessor to replace all subsequent instances of the identifier COUNT with the constant 1000 :
#define COUNT 1000
Function-like macro invocation:
An identifier followed by a comma-separated list of arguments in parentheses. The number of arguments should match the number of parameters in the macro definition, unless the parameter list in the definition ends with an ellipsis
#define SUM(a,b,c) a + b + c
-------------------------------------
1-)But what are predefined macros. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_predir_predefined_macros.asp
Are these object-like macro or function-like macro. Or special macro? Where are they defined?

2-) #define UNICODE -> they say:
"If you don't #define UNICODE, you get ANSI by default."
Is _UNICODE macro? I understand what _UNICODE done. But i dont understand what UNICODE is. What is the meaning of #define UNICODE here? What does compiler do when it see such an expression (#define something)
I hope i can explain the problem.

I am looking for your answers.
Thanks
AnswerRe: Predefined Macros Pin
Waldermort10-Mar-07 18:12
Waldermort10-Mar-07 18:12 
GeneralRe: Predefined Macros Pin
sawerr10-Mar-07 22:07
sawerr10-Mar-07 22:07 
GeneralRe: Predefined Macros Pin
toxcct10-Mar-07 23:05
toxcct10-Mar-07 23:05 
AnswerRe: Predefined Macros Pin
toxcct11-Mar-07 0:04
toxcct11-Mar-07 0:04 
QuestionHow to Remove the Title bar of Window created through CreateWindowEx... Pin
nagamohan_p10-Mar-07 6:30
nagamohan_p10-Mar-07 6:30 
AnswerRe: How to Remove the Title bar of Window created through CreateWindowEx... Pin
Mark Salsbery10-Mar-07 6:45
Mark Salsbery10-Mar-07 6:45 
QuestionCertification in C++ or VC++ Pin
vibindia10-Mar-07 2:05
vibindia10-Mar-07 2:05 
AnswerRe: Certification in C++ or VC++ Pin
Waldermort10-Mar-07 3:13
Waldermort10-Mar-07 3:13 
AnswerRe: Certification in C++ or VC++ Pin
Kevin McFarlane10-Mar-07 5:10
Kevin McFarlane10-Mar-07 5:10 
QuestionVisual C++ vs C++.Net Pin
Software_Specialist10-Mar-07 1:54
Software_Specialist10-Mar-07 1:54 
AnswerRe: Visual C++ vs C++.Net Pin
Waldermort10-Mar-07 3:14
Waldermort10-Mar-07 3:14 
AnswerRe: Visual C++ vs C++.Net Pin
George L. Jackson10-Mar-07 3:25
George L. Jackson10-Mar-07 3:25 
GeneralRe: Visual C++ vs C++.Net Pin
Pan San10-Mar-07 22:19
Pan San10-Mar-07 22:19 
GeneralRe: Visual C++ vs C++.Net Pin
toxcct11-Mar-07 0:09
toxcct11-Mar-07 0:09 
GeneralRe: Visual C++ vs C++.Net Pin
Eytukan11-Mar-07 0:17
Eytukan11-Mar-07 0:17 
GeneralRe: Visual C++ vs C++.Net Pin
Eytukan11-Mar-07 0:18
Eytukan11-Mar-07 0:18 
GeneralRe: Visual C++ vs C++.Net Pin
George L. Jackson11-Mar-07 2:34
George L. Jackson11-Mar-07 2:34 

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.