Click here to Skip to main content
15,911,707 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL global variables Pin
Steve S18-Feb-04 6:02
Steve S18-Feb-04 6:02 
GeneralRe: DLL global variables Pin
peterchen18-Feb-04 6:38
peterchen18-Feb-04 6:38 
GeneralRe: DLL global variables Pin
Prakash Nadar18-Feb-04 6:35
Prakash Nadar18-Feb-04 6:35 
GeneralRe: DLL global variables Pin
valikac18-Feb-04 14:37
valikac18-Feb-04 14:37 
GeneralRe: DLL global variables Pin
Michael Dunn18-Feb-04 15:25
sitebuilderMichael Dunn18-Feb-04 15:25 
GeneralRe: DLL global variables Pin
Jesse Evans19-Feb-04 8:38
Jesse Evans19-Feb-04 8:38 
Question__stdcall pointer from C++ method? Pin
Matthew Fleming18-Feb-04 5:48
Matthew Fleming18-Feb-04 5:48 
AnswerRe: __stdcall pointer from C++ method? Pin
Steve S18-Feb-04 6:10
Steve S18-Feb-04 6:10 
Try

static cdUInt32 __stdcall MyEventCallbackFunction(etc)

as your declaration.
You generally can't use a member function for a callback, since it has an extra (invisible) parameter, namely "this". However, if you have a static member function, there is no "this", and hence, no extra parameter. Of course that does mean you can't access any instance specific object data, unless you also have an idea of what object you want to tinker with...

Steve S
AnswerRe: __stdcall pointer from C++ method? Pin
John M. Drescher18-Feb-04 6:11
John M. Drescher18-Feb-04 6:11 
GeneralDebugging STL containers Pin
pradeep_cherukat18-Feb-04 4:58
pradeep_cherukat18-Feb-04 4:58 
GeneralRe: Debugging STL containers Pin
John M. Drescher18-Feb-04 5:42
John M. Drescher18-Feb-04 5:42 
GeneralRe: Debugging STL containers Pin
vladfein18-Feb-04 8:16
vladfein18-Feb-04 8:16 
GeneralBase64 Data Types Pin
Douglas Troy18-Feb-04 4:29
Douglas Troy18-Feb-04 4:29 
GeneralRe: Base64 Data Types Pin
Prakash Nadar18-Feb-04 5:48
Prakash Nadar18-Feb-04 5:48 
GeneralRe: Base64 Data Types Pin
Douglas Troy18-Feb-04 7:07
Douglas Troy18-Feb-04 7:07 
GeneralRe: Base64 Data Types Pin
Prakash Nadar18-Feb-04 13:12
Prakash Nadar18-Feb-04 13:12 
GeneralRe: Base64 Data Types Pin
Douglas Troy19-Feb-04 4:05
Douglas Troy19-Feb-04 4:05 
GeneralRe: Base64 Data Types Pin
Prakash Nadar19-Feb-04 5:14
Prakash Nadar19-Feb-04 5:14 
GeneralDLL Import Library - alternate search path for DLL Pin
peterchen18-Feb-04 4:10
peterchen18-Feb-04 4:10 
GeneralRe: DLL Import Library - alternate search path for DLL Pin
Prakash Nadar18-Feb-04 4:33
Prakash Nadar18-Feb-04 4:33 
GeneralRe: DLL Import Library - alternate search path for DLL Pin
peterchen18-Feb-04 4:39
peterchen18-Feb-04 4:39 
GeneralRe: DLL Import Library - alternate search path for DLL Pin
Prakash Nadar18-Feb-04 5:08
Prakash Nadar18-Feb-04 5:08 
Generaldialog mfc app Pin
Irish_GUI18-Feb-04 4:10
Irish_GUI18-Feb-04 4:10 
GeneralRe: dialog mfc app Pin
Maximilien18-Feb-04 4:35
Maximilien18-Feb-04 4:35 
GeneralRe: dialog mfc app Pin
Hadi Rezaee18-Feb-04 4:35
Hadi Rezaee18-Feb-04 4: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.