Click here to Skip to main content
15,890,995 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: file share problem Pin
york52821-Jul-09 5:28
york52821-Jul-09 5:28 
Questionsomebody pls help me debug this error on my diff eqn proj Pin
errdy20-Jul-09 16:37
errdy20-Jul-09 16:37 
AnswerRe: somebody pls help me debug this error on my diff eqn proj Pin
Randor 20-Jul-09 18:05
professional Randor 20-Jul-09 18:05 
GeneralRe: somebody pls help me debug this error on my diff eqn proj Pin
errdy25-Jul-09 12:03
errdy25-Jul-09 12:03 
GeneralRe: somebody pls help me debug this error on my diff eqn proj Pin
Randor 28-Jul-09 9:42
professional Randor 28-Jul-09 9:42 
GeneralRe: somebody pls help me debug this error on my diff eqn proj Pin
David Crow21-Jul-09 3:03
David Crow21-Jul-09 3:03 
QuestionNeed AMCap source code Pin
Vaclav_20-Jul-09 11:36
Vaclav_20-Jul-09 11:36 
QuestionGetting a function Pointer Pin
San Saeteurn20-Jul-09 9:09
San Saeteurn20-Jul-09 9:09 
Hello,

Is there a way to get a pointer to the function you are in?
Like the "this" pointer for the object.

What I want to do is pass the function down to another function that I am calling.

void myFunction()
{
yourFunction("myFunction Reference");
}

void yourFunction(void (* myFunc)(void))
{
if(myFunc == m_myFunc)
{
cout << "Error: Possible infinite loop, calling me with this guy" << endl;
}
}

Thanks,
-San Saeteurn
AnswerRe: Getting a function Pointer Pin
David Crow20-Jul-09 9:20
David Crow20-Jul-09 9:20 
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 
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 

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.