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

C / C++ / MFC

 
AnswerRe: AfxGetApp NULL pointer issue Pin
Mark Salsbery27-May-07 9:38
Mark Salsbery27-May-07 9:38 
GeneralRe: AfxGetApp NULL pointer issue Pin
Abyss27-May-07 10:00
Abyss27-May-07 10:00 
GeneralRe: AfxGetApp NULL pointer issue Pin
Mark Salsbery27-May-07 10:32
Mark Salsbery27-May-07 10:32 
GeneralRe: AfxGetApp NULL pointer issue Pin
Abyss27-May-07 18:48
Abyss27-May-07 18:48 
GeneralRe: AfxGetApp NULL pointer issue Pin
Abyss27-May-07 20:15
Abyss27-May-07 20:15 
GeneralRe: AfxGetApp NULL pointer issue Pin
Mark Salsbery28-May-07 6:10
Mark Salsbery28-May-07 6:10 
QuestionCallback help needed Pin
Thomas Andersen27-May-07 5:44
Thomas Andersen27-May-07 5:44 
AnswerRe: Callback help needed [modified] Pin
Richard Andrew x6427-May-07 7:24
professionalRichard Andrew x6427-May-07 7:24 
Well, one thing is that FARPROC is defined as

typedef INT_PTR (WINAPI *FARPROC)(void);<br />


whereas your callback function has a return type of LPVOID.

So it looks like you're trying to redefine the return type of the callback function when you cast it to (FARPROC) in the call to MakeProcInstance.

Also, FARPROC has no arguments, so it is a very different function signature.




-- modified at 13:32 Sunday 27th May, 2007

--------------------------------

"All that is necessary for the forces of evil to win in the world is for enough good men to do nothing" -- Edmund Burke

Questionvector::erase() Pin
C_Zealot27-May-07 1:02
C_Zealot27-May-07 1:02 
AnswerRe: vector::erase() Pin
Cedric Moonen27-May-07 1:16
Cedric Moonen27-May-07 1:16 
GeneralRe: vector::erase() Pin
C_Zealot27-May-07 1:21
C_Zealot27-May-07 1:21 
AnswerRe: vector::erase() Pin
Garth J Lancaster27-May-07 1:28
professionalGarth J Lancaster27-May-07 1:28 
GeneralRe: vector::erase() Pin
C_Zealot27-May-07 1:30
C_Zealot27-May-07 1:30 
Questionhow to call a dialog in DLL containing Active X - Date Time Picker Pin
prashant pissey27-May-07 0:37
prashant pissey27-May-07 0:37 
AnswerRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
Naveen27-May-07 14:19
Naveen27-May-07 14:19 
GeneralRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
prashant pissey27-May-07 17:37
prashant pissey27-May-07 17:37 
GeneralRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
Naveen27-May-07 17:50
Naveen27-May-07 17:50 
GeneralRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
prashant pissey27-May-07 18:25
prashant pissey27-May-07 18:25 
GeneralRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
Naveen27-May-07 18:29
Naveen27-May-07 18:29 
GeneralRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
prashant pissey27-May-07 18:39
prashant pissey27-May-07 18:39 
GeneralRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
Naveen27-May-07 19:02
Naveen27-May-07 19:02 
GeneralRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
prashant pissey28-May-07 20:20
prashant pissey28-May-07 20:20 
GeneralRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
Naveen28-May-07 20:22
Naveen28-May-07 20:22 
GeneralRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
prashant pissey28-May-07 22:32
prashant pissey28-May-07 22:32 
QuestionActive Accessibilty, getting Font properties Pin
avirib27-May-07 0:14
avirib27-May-07 0:14 

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.