Click here to Skip to main content
16,011,170 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting PowerBuilder screen data from VC Pin
Joaquín M López Muñoz7-Mar-02 9:39
Joaquín M López Muñoz7-Mar-02 9:39 
GeneralColor Palette Pin
7-Mar-02 7:35
suss7-Mar-02 7:35 
GeneralRe: Color Palette Pin
Christian Graus7-Mar-02 9:33
protectorChristian Graus7-Mar-02 9:33 
GeneralRe: Color Palette Pin
8-Mar-02 1:08
suss8-Mar-02 1:08 
GeneralRe: Color Palette Pin
Christian Graus8-Mar-02 8:09
protectorChristian Graus8-Mar-02 8:09 
GeneralRe: Color Palette Pin
8-Mar-02 9:57
suss8-Mar-02 9:57 
GeneralTime Zone and ParseDateTime Pin
Mike.NET7-Mar-02 7:00
Mike.NET7-Mar-02 7:00 
GeneralOn contents between quotion marks in #define Pin
tfElep7-Mar-02 6:34
tfElep7-Mar-02 6:34 
I'd like to show my codes while they are running. I wrote a macro for this perpose:

#define RUN_TRACE(instr) instr;TRACE("%s\n","instr");

But "instr" instead of my code was the result, and the macro below did not work either:

#define RUN_TRACE(instr) instr;TRACE("%s\n", instr);

This macro insist using the result of my code as the input to TRACE instead of the code itself.

Is there any compiler switch to control whether to replace the argument between quotion pare in macro definetion? I'll be very grateful if you can give me any help.

Tiny Flying Elephant loves flying...
GeneralRe: On contents between quotion marks in #define Pin
Joaquín M López Muñoz7-Mar-02 6:36
Joaquín M López Muñoz7-Mar-02 6:36 
GeneralRe: On contents between quotion marks in #define Pin
tfElep7-Mar-02 14:33
tfElep7-Mar-02 14:33 
GeneralProblem with ATL 7.0 Service Pin
Le centriste7-Mar-02 6:03
Le centriste7-Mar-02 6:03 
GeneralRe: Problem with ATL 7.0 Service Pin
Le centriste7-Mar-02 6:52
Le centriste7-Mar-02 6:52 
GeneralRe: Problem with ATL 7.0 Service Pin
Joao Vaz7-Mar-02 7:34
Joao Vaz7-Mar-02 7:34 
QuestionHow to hide a given column in a CListCtrl ? Pin
7-Mar-02 5:12
suss7-Mar-02 5:12 
AnswerRe: How to hide a given column in a CListCtrl ? Pin
Tomasz Sowinski7-Mar-02 5:56
Tomasz Sowinski7-Mar-02 5:56 
GeneralRe: How to hide a given column in a CListCtrl ? Pin
7-Mar-02 8:35
suss7-Mar-02 8:35 
GeneralJavascript/DHTML and MFC Pin
Condorito7-Mar-02 4:52
Condorito7-Mar-02 4:52 
GeneralRe: Javascript/DHTML and MFC Pin
Joaquín M López Muñoz7-Mar-02 6:02
Joaquín M López Muñoz7-Mar-02 6:02 
GeneralRe: Javascript/DHTML and MFC Pin
Shog97-Mar-02 10:40
sitebuilderShog97-Mar-02 10:40 
GeneralCStringArray error catching Pin
RK_20007-Mar-02 4:29
RK_20007-Mar-02 4:29 
GeneralRe: CStringArray error catching Pin
Tomasz Sowinski7-Mar-02 4:53
Tomasz Sowinski7-Mar-02 4:53 
GeneralRe: CStringArray error catching Pin
RK_20007-Mar-02 5:31
RK_20007-Mar-02 5:31 
GeneralRe: CStringArray error catching Pin
Joaquín M López Muñoz7-Mar-02 5:41
Joaquín M López Muñoz7-Mar-02 5:41 
GeneralCSocket problem Pin
Vladimir Georgiev7-Mar-02 4:23
Vladimir Georgiev7-Mar-02 4:23 
GeneralRe: CSocket problem Pin
Joaquín M López Muñoz7-Mar-02 5:57
Joaquín M López Muñoz7-Mar-02 5:57 

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.