Click here to Skip to main content
15,896,493 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to let vector store reference? Pin
George220-Apr-03 2:31
George220-Apr-03 2:31 
AnswerRe: How to let vector store reference? Pin
Nick Parker20-Apr-03 3:22
protectorNick Parker20-Apr-03 3:22 
GeneralRe: How to let vector store reference? Pin
George220-Apr-03 3:27
George220-Apr-03 3:27 
GeneralRe: How to let vector store reference? Pin
Nitron21-Apr-03 3:09
Nitron21-Apr-03 3:09 
GeneralRe: How to let vector store reference? Pin
George221-Apr-03 19:52
George221-Apr-03 19:52 
GeneralRe: How to let vector store reference? Pin
Nitron22-Apr-03 2:51
Nitron22-Apr-03 2:51 
GeneralMacro Question / getting detailed Class / Functioncall Information Pin
Sendel20-Apr-03 1:39
Sendel20-Apr-03 1:39 
GeneralRe: Macro Question / getting detailed Class / Functioncall Information Pin
Phil Hamer20-Apr-03 7:26
Phil Hamer20-Apr-03 7:26 
Putting the macro before the function definition will not work anyway, because the preprocessor will pass through the file first and keep #defining and #undefining SETFUNCTION, and finally SETFUNTION will only be the last function it processed. I thought of a macro like this:

#define SETFUNCTION(x) TCHAR __CALL__[] = _T(#x)

Put this as the first statement in all your functions, like this for example:

void myFunction(int value)
{
SETFUNCTION(myFunction);
...
}

and now __CALL__ will simply be a string locally declared within each function. Hope that helps.

GeneralRe: Macro Question / getting detailed Class / Functioncall Information Pin
Phil Hamer20-Apr-03 7:43
Phil Hamer20-Apr-03 7:43 
Questionhow to display a file into CScrollView? Pin
liuty200619-Apr-03 21:18
liuty200619-Apr-03 21:18 
AnswerRe: how to display a file into CScrollView? Pin
Nish Nishant19-Apr-03 21:24
sitebuilderNish Nishant19-Apr-03 21:24 
GeneralTraversing between workspaces Pin
Makover19-Apr-03 20:55
Makover19-Apr-03 20:55 
Generali'm new Pin
Mario_Young19-Apr-03 18:32
Mario_Young19-Apr-03 18:32 
GeneralRe: i'm new Pin
J. Dunlap19-Apr-03 18:37
J. Dunlap19-Apr-03 18:37 
GeneralRe: i'm new Pin
Nish Nishant19-Apr-03 19:24
sitebuilderNish Nishant19-Apr-03 19:24 
GeneralRe: i'm new Pin
Sendel20-Apr-03 1:53
Sendel20-Apr-03 1:53 
GeneralOption for an Exit Pin
Anonymous19-Apr-03 18:17
Anonymous19-Apr-03 18:17 
GeneralRe: Option for an Exit Pin
Bartosz Bien20-Apr-03 4:32
Bartosz Bien20-Apr-03 4:32 
GeneralRe: Option for an Exit Pin
Anonymous20-Apr-03 5:41
Anonymous20-Apr-03 5:41 
GeneralRe: Option for an Exit Pin
Bartosz Bien20-Apr-03 6:23
Bartosz Bien20-Apr-03 6:23 
GeneralToolbar Tooltips Pin
DuFF19-Apr-03 14:41
DuFF19-Apr-03 14:41 
GeneralRe: Toolbar Tooltips Pin
Michael Dunn19-Apr-03 18:00
sitebuilderMichael Dunn19-Apr-03 18:00 
GeneralRe: Toolbar Tooltips Pin
cleathley19-Apr-03 19:09
cleathley19-Apr-03 19:09 
GeneralRe: Toolbar Tooltips Pin
Nick Parker20-Apr-03 3:43
protectorNick Parker20-Apr-03 3:43 
GeneralSQL statement parsing Pin
alex.barylski19-Apr-03 14:35
alex.barylski19-Apr-03 14:35 

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.