Click here to Skip to main content
15,885,954 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionStruct initialization with function pointer Pin
nussehund15-Oct-12 12:37
nussehund15-Oct-12 12:37 
AnswerRe: Struct initialization with function pointer Pin
Jochen Arndt15-Oct-12 21:39
professionalJochen Arndt15-Oct-12 21:39 
GeneralRe: Struct initialization with function pointer Pin
nussehund16-Oct-12 11:18
nussehund16-Oct-12 11:18 
QuestionLinker Error Pin
Don Guy15-Oct-12 5:18
Don Guy15-Oct-12 5:18 
AnswerRe: Linker Error Pin
Richard MacCutchan15-Oct-12 6:15
mveRichard MacCutchan15-Oct-12 6:15 
AnswerRe: Linker Error Pin
chaau15-Oct-12 11:27
chaau15-Oct-12 11:27 
QuestionCALLBACK function MFC Pin
D.Manivelan15-Oct-12 2:33
D.Manivelan15-Oct-12 2:33 
AnswerRe: CALLBACK function MFC Pin
Sivaraman Dhamodharan15-Oct-12 2:44
Sivaraman Dhamodharan15-Oct-12 2:44 
Call back functions are supplied to some function or data structure as a pointer like (Or I can say, pointer to the starting address of U r function) variable. The pointer is actually a function pointer, and this will be called back when something happens.

Say for example you develop an API function that takes a folder name. For each file found inside the folder, it will perform some operation based on the file name and extension. But the API you write do not know what action to perform and it is decided by the caller. In that case, caller will supply a function address, and your API will call the user supplied function (CALLBACK) for each file. You see that.

AnswerRe: CALLBACK function MFC Pin
Maximilien15-Oct-12 2:59
Maximilien15-Oct-12 2:59 
AnswerRe: CALLBACK function MFC Pin
Jochen Arndt15-Oct-12 3:05
professionalJochen Arndt15-Oct-12 3:05 
QuestionHow can I find the crash line of code from stack? Pin
Falconapollo14-Oct-12 4:58
Falconapollo14-Oct-12 4:58 
AnswerRe: How can I find the crash line of code from stack? Pin
Richard MacCutchan14-Oct-12 8:06
mveRichard MacCutchan14-Oct-12 8:06 
QuestionPattern Abstract Factory Pin
Pahanuch14-Oct-12 3:45
Pahanuch14-Oct-12 3:45 
AnswerRe: Pattern Abstract Factory Pin
Richard Andrew x6414-Oct-12 6:53
professionalRichard Andrew x6414-Oct-12 6:53 
QuestionHow to enable re-sizing window without using WS_THICKKFRAME Pin
Hari-Adarapu12-Oct-12 11:18
Hari-Adarapu12-Oct-12 11:18 
AnswerRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
Richard Andrew x6412-Oct-12 12:25
professionalRichard Andrew x6412-Oct-12 12:25 
GeneralRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
Hari-Adarapu14-Oct-12 15:51
Hari-Adarapu14-Oct-12 15:51 
SuggestionRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
David Crow13-Oct-12 9:11
David Crow13-Oct-12 9:11 
QuestionProblem on modeless dialog on Excel Pin
Member 311342211-Oct-12 7:23
Member 311342211-Oct-12 7:23 
AnswerRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 11:26
mveRichard MacCutchan11-Oct-12 11:26 
GeneralRe: Problem on modeless dialog on Excel Pin
Member 311342211-Oct-12 17:54
Member 311342211-Oct-12 17:54 
GeneralRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 21:03
mveRichard MacCutchan11-Oct-12 21:03 
GeneralRe: Problem on modeless dialog on Excel Pin
Member 311342211-Oct-12 21:20
Member 311342211-Oct-12 21:20 
GeneralRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 22:17
mveRichard MacCutchan11-Oct-12 22:17 
GeneralRe: Problem on modeless dialog on Excel Pin
David Crow12-Oct-12 10:26
David Crow12-Oct-12 10:26 

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.