Click here to Skip to main content
15,905,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to delay in the middle of the code without cpu usage Pin
V_shr6-Jul-07 5:39
V_shr6-Jul-07 5:39 
Questionhow to print application memory Pin
zecodela6-Jul-07 4:23
zecodela6-Jul-07 4:23 
AnswerRe: how to print application memory Pin
Mark Salsbery6-Jul-07 5:39
Mark Salsbery6-Jul-07 5:39 
QuestionRe: how to print application memory Pin
zecodela6-Jul-07 15:16
zecodela6-Jul-07 15:16 
AnswerRe: how to print application memory Pin
Mark Salsbery6-Jul-07 15:28
Mark Salsbery6-Jul-07 15:28 
GeneralRe: how to print application memory Pin
zecodela6-Jul-07 15:31
zecodela6-Jul-07 15:31 
GeneralRe: how to print application memory Pin
epankaj9-Jul-09 1:38
epankaj9-Jul-09 1:38 
QuestionHow to get the name of the current function dynamically/statically Pin
AdAkta6-Jul-07 3:34
AdAkta6-Jul-07 3:34 
__FILE__ is replaced (during compilation) with the name of the file
__LINE__ is replaced (during compilation) with the current line

But how do I get the name of the function I'm just in?

I'm using VisualStudio 6.0, programming in pure C. I want to call a function writing text to a Window like:

OutputWindow("functionname: bla bla bla %d");

The functionname should be replaced by the function that called OutputWindow()

OutputWindow("%s: bla bla bla %d", __FOONAME__);

Thanks for any help!

AnswerRe: How to get the name of the current function dynamically/statically Pin
David Crow6-Jul-07 3:41
David Crow6-Jul-07 3:41 
GeneralRe: How to get the name of the current function dynamically/statically Pin
AdAkta12-Jul-07 1:46
AdAkta12-Jul-07 1:46 
AnswerRe: How to get the name of the current function dynamically/statically Pin
Matthew Faithfull6-Jul-07 4:11
Matthew Faithfull6-Jul-07 4:11 
GeneralRe: How to get the name of the current function dynamically/statically Pin
AdAkta12-Jul-07 1:44
AdAkta12-Jul-07 1:44 
GeneralRe: How to get the name of the current function dynamically/statically Pin
Matthew Faithfull12-Jul-07 3:32
Matthew Faithfull12-Jul-07 3:32 
QuestionHow to correctly trap "Enter" key in MFC dialog ? Pin
ldsdbomber6-Jul-07 3:09
ldsdbomber6-Jul-07 3:09 
AnswerRe: How to correctly trap "Enter" key in MFC dialog ? Pin
David Crow6-Jul-07 3:13
David Crow6-Jul-07 3:13 
GeneralRe: How to correctly trap "Enter" key in MFC dialog ? Pin
ldsdbomber6-Jul-07 3:28
ldsdbomber6-Jul-07 3:28 
QuestionRe: How to correctly trap "Enter" key in MFC dialog ? Pin
David Crow6-Jul-07 3:35
David Crow6-Jul-07 3:35 
AnswerRe: How to correctly trap "Enter" key in MFC dialog ? Pin
ldsdbomber6-Jul-07 3:38
ldsdbomber6-Jul-07 3:38 
GeneralRe: How to correctly trap "Enter" key in MFC dialog ? Pin
David Crow6-Jul-07 3:42
David Crow6-Jul-07 3:42 
GeneralRe: How to correctly trap "Enter" key in MFC dialog ? Pin
ldsdbomber6-Jul-07 3:42
ldsdbomber6-Jul-07 3:42 
GeneralRe: How to correctly trap "Enter" key in MFC dialog ? Pin
ldsdbomber6-Jul-07 3:45
ldsdbomber6-Jul-07 3:45 
AnswerRe: How to correctly trap "Enter" key in MFC dialog ? Pin
eusto6-Jul-07 3:25
eusto6-Jul-07 3:25 
GeneralRe: How to correctly trap "Enter" key in MFC dialog ? Pin
ldsdbomber6-Jul-07 3:32
ldsdbomber6-Jul-07 3:32 
GeneralRe: How to correctly trap "Enter" key in MFC dialog ? Pin
eusto6-Jul-07 3:49
eusto6-Jul-07 3:49 
QuestionMFC Printing Pin
eusto6-Jul-07 2:50
eusto6-Jul-07 2:50 

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.