Click here to Skip to main content
15,892,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: change message handler prototype's name Pin
Naveen13-Sep-09 20:31
Naveen13-Sep-09 20:31 
GeneralRe: change message handler prototype's name Pin
Adam Roderick J13-Sep-09 20:55
Adam Roderick J13-Sep-09 20:55 
Question[Message Deleted] Pin
jadhavjitendrar13-Sep-09 18:05
jadhavjitendrar13-Sep-09 18:05 
AnswerRe: How to Convert Text file to MDB using vc++ Pin
_AnsHUMAN_ 13-Sep-09 18:33
_AnsHUMAN_ 13-Sep-09 18:33 
QuestionGeneral Ifndef and Define Question [modified] Pin
lgm42013-Sep-09 4:14
lgm42013-Sep-09 4:14 
AnswerRe: General Ifndef and Define Question Pin
Chris Losinger13-Sep-09 6:40
professionalChris Losinger13-Sep-09 6:40 
GeneralRe: General Ifndef and Define Question Pin
lgm42013-Sep-09 13:17
lgm42013-Sep-09 13:17 
GeneralRe: General Ifndef and Define Question Pin
Cedric Moonen13-Sep-09 20:31
Cedric Moonen13-Sep-09 20:31 
I don't really understand your question. Could you please rephrase it so it is a bit more understandable ?
Anyway, as Chris already pointed out, a #define is simply a macro. It means that before compilation occurs, all occurrences of the string TEXT in your source file will be replaced by what you specified.

For instance this define:
#define TEXT "Test"
Whenever you have a TEXT somewhere in your code, it will be replaced by "Test". So, it is really something basic, there's nothing which is run or anything like that.

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

GeneralRe: General Ifndef and Define Question [modified] Pin
lgm42014-Sep-09 9:04
lgm42014-Sep-09 9:04 
GeneralRe: General Ifndef and Define Question Pin
Richard MacCutchan14-Sep-09 11:21
mveRichard MacCutchan14-Sep-09 11:21 
AnswerRe: General Ifndef and Define Question Pin
KarstenK13-Sep-09 22:51
mveKarstenK13-Sep-09 22:51 
AnswerRe: General Ifndef and Define Question Pin
Richard MacCutchan13-Sep-09 23:34
mveRichard MacCutchan13-Sep-09 23:34 
GeneralRe: General Ifndef and Define Question Pin
lgm42014-Sep-09 9:25
lgm42014-Sep-09 9:25 
GeneralRe: General Ifndef and Define Question Pin
Richard MacCutchan14-Sep-09 11:22
mveRichard MacCutchan14-Sep-09 11:22 
QuestionHook communication Pin
paperboy212-Sep-09 23:11
paperboy212-Sep-09 23:11 
AnswerRe: Hook communication Pin
«_Superman_»13-Sep-09 18:19
professional«_Superman_»13-Sep-09 18:19 
AnswerRe: Hook communication Pin
Naveen13-Sep-09 18:35
Naveen13-Sep-09 18:35 
GeneralRe: Hook communication Pin
paperboy214-Sep-09 2:36
paperboy214-Sep-09 2:36 
Questionhow to sending input in rich edit to a device?? Pin
mr bard212-Sep-09 17:55
mr bard212-Sep-09 17:55 
AnswerRe: how to sending input in rich edit to a device?? Pin
Code-o-mat12-Sep-09 22:11
Code-o-mat12-Sep-09 22:11 
AnswerRe: how to sending input in rich edit to a device?? Pin
Richard MacCutchan12-Sep-09 22:18
mveRichard MacCutchan12-Sep-09 22:18 
Questionerror C2664:'load':cannot convert parameter 1 from 'unsigned short *' to 'struct tagVARIANT' Pin
CHYGO12-Sep-09 16:50
CHYGO12-Sep-09 16:50 
AnswerRe: error C2664:'load':cannot convert parameter 1 from 'unsigned short *' to 'struct tagVARIANT' Pin
norish12-Sep-09 20:26
norish12-Sep-09 20:26 
GeneralRe: error C2664:'load':cannot convert parameter 1 from 'unsigned short *' to 'struct tagVARIANT' Pin
«_Superman_»13-Sep-09 18:23
professional«_Superman_»13-Sep-09 18:23 
QuestionMessage Loop... Pin
birajendu12-Sep-09 9:36
birajendu12-Sep-09 9:36 

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.