Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting a function Pointer Pin
San Saeteurn20-Jul-09 10:26
San Saeteurn20-Jul-09 10:26 
QuestionRe: Getting a function Pointer Pin
David Crow20-Jul-09 10:32
David Crow20-Jul-09 10:32 
AnswerRe: Getting a function Pointer Pin
San Saeteurn20-Jul-09 10:50
San Saeteurn20-Jul-09 10:50 
GeneralRe: Getting a function Pointer Pin
San Saeteurn20-Jul-09 12:14
San Saeteurn20-Jul-09 12:14 
GeneralRe: Getting a function Pointer Pin
San Saeteurn20-Jul-09 13:00
San Saeteurn20-Jul-09 13:00 
AnswerRe: Getting a function Pointer Pin
Stuart Dootson20-Jul-09 12:22
professionalStuart Dootson20-Jul-09 12:22 
AnswerRe: Getting a function Pointer Pin
krmed21-Jul-09 0:46
krmed21-Jul-09 0:46 
GeneralRe: Getting a function Pointer Pin
San Saeteurn21-Jul-09 5:28
San Saeteurn21-Jul-09 5:28 
That won't work because I need to be able to test against it before calling the method the second time to prevent calling it twice.
If I have to be in the method already, then that means the called method has to be specialized to always test this. However, it is a requirement that the called method be independent of this overhead.
A Function Pointer can work because I can simply compare the pointers before calling, whereas __FUNCTION__ only has the needed value if called from within the method.

Thanks for your input though,
-San Saeteurn
QuestionLRESULT question about beginner tutorial Pin
Adassus20-Jul-09 8:39
Adassus20-Jul-09 8:39 
AnswerRe: LRESULT question about beginner tutorial Pin
Maximilien20-Jul-09 9:13
Maximilien20-Jul-09 9:13 
AnswerRe: LRESULT question about beginner tutorial Pin
Stuart Dootson20-Jul-09 12:25
professionalStuart Dootson20-Jul-09 12:25 
Questionwant to access any windows input elements from a win32 or mfc program Pin
Jayapal Chandran20-Jul-09 7:32
Jayapal Chandran20-Jul-09 7:32 
AnswerRe: want to access any windows input elements from a win32 or mfc program Pin
Hari Mahadevan20-Jul-09 15:27
professionalHari Mahadevan20-Jul-09 15:27 
GeneralRe: want to access any windows input elements from a win32 or mfc program Pin
Jayapal Chandran23-Jul-09 8:41
Jayapal Chandran23-Jul-09 8:41 
QuestionList focus setting problem Pin
bhanu_reddy0920-Jul-09 6:08
bhanu_reddy0920-Jul-09 6:08 
QuestionRe: List focus setting problem Pin
David Crow20-Jul-09 6:50
David Crow20-Jul-09 6:50 
Generalplease suggest me some good pregram using datastructure. Pin
pavarathyRock20-Jul-09 5:46
pavarathyRock20-Jul-09 5:46 
GeneralRe: please suggest me some good pregram using datastructure. Pin
David Crow20-Jul-09 6:54
David Crow20-Jul-09 6:54 
GeneralRe: please suggest me some good pregram using datastructure. Pin
pavarathyRock20-Jul-09 17:36
pavarathyRock20-Jul-09 17:36 
GeneralRe: please suggest me some good pregram using datastructure. Pin
Rozis20-Jul-09 10:45
Rozis20-Jul-09 10:45 
GeneralRe: please suggest me some good pregram using datastructure. Pin
pavarathyRock20-Jul-09 17:39
pavarathyRock20-Jul-09 17:39 
QuestionEXIT_FAILURE, EXIT_SUCCESS Pin
Sauce!20-Jul-09 4:58
Sauce!20-Jul-09 4:58 
AnswerRe: EXIT_FAILURE, EXIT_SUCCESS Pin
Sarath C20-Jul-09 8:27
Sarath C20-Jul-09 8:27 
AnswerRe: EXIT_FAILURE, EXIT_SUCCESS Pin
Stuart Dootson20-Jul-09 12:37
professionalStuart Dootson20-Jul-09 12:37 
GeneralRe: EXIT_FAILURE, EXIT_SUCCESS Pin
Sauce!21-Jul-09 1:24
Sauce!21-Jul-09 1:24 

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.