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

C / C++ / MFC

 
QuestionHow to enable CDialogBar always? Pin
Yusuf7-Jun-06 14:53
Yusuf7-Jun-06 14:53 
QuestionASSERT(::IsWindow(m_hWnd)); Pin
DanYELL7-Jun-06 14:01
DanYELL7-Jun-06 14:01 
AnswerRe: ASSERT(::IsWindow(m_hWnd)); [modified] Pin
bob169727-Jun-06 17:26
bob169727-Jun-06 17:26 
QuestionCallback function arguments Pin
vasanth10047-Jun-06 12:42
vasanth10047-Jun-06 12:42 
AnswerRe: Callback function arguments Pin
Cedric Moonen7-Jun-06 20:20
Cedric Moonen7-Jun-06 20:20 
GeneralRe: Callback function arguments Pin
vasanth10048-Jun-06 3:51
vasanth10048-Jun-06 3:51 
GeneralRe: Callback function arguments Pin
Cedric Moonen8-Jun-06 3:58
Cedric Moonen8-Jun-06 3:58 
GeneralRe: Callback function arguments Pin
vasanth10048-Jun-06 4:45
vasanth10048-Jun-06 4:45 
Basically, I am writing an openGL library to render a scene multiple times from different viewpoints.

So, the way my design works is I have the user pass in a pointer to their "Draw()" function (callback method), and my dll can call the Draw function multiple times, with different configurations each time. This is done so that the user doesn't have to explicitly call the Draw function multiple times.

My DLL code can work fine if there were no arguments, or I knew the arguments.
eg: typedef void (__stdcall *Draw)(void);

But what if the user's Draw method had many arguments? How would I change the prototype in the dll to reflect this?

This is my problem.

Thanks for your help.
GeneralRe: Callback function arguments Pin
Cedric Moonen8-Jun-06 4:57
Cedric Moonen8-Jun-06 4:57 
QuestionRetrieve Process %CPU Usage and Thread Count Pin
Nonna147-Jun-06 11:19
Nonna147-Jun-06 11:19 
AnswerRe: Retrieve Process %CPU Usage and Thread Count Pin
Naveen7-Jun-06 17:43
Naveen7-Jun-06 17:43 
AnswerRe: Retrieve Process %CPU Usage and Thread Count Pin
ThatsAlok7-Jun-06 19:54
ThatsAlok7-Jun-06 19:54 
Questionplugin support coding in c++ project(advice please) Pin
sawerr7-Jun-06 11:14
sawerr7-Jun-06 11:14 
AnswerRe: plugin support coding in c++ project(advice please) Pin
Chris Losinger7-Jun-06 11:54
professionalChris Losinger7-Jun-06 11:54 
GeneralRe: plugin support coding in c++ project(advice please) Pin
sawerr7-Jun-06 18:00
sawerr7-Jun-06 18:00 
GeneralRe: plugin support coding in c++ project(advice please) Pin
Chris Losinger8-Jun-06 1:11
professionalChris Losinger8-Jun-06 1:11 
QuestionMFC71.dll missing export link SHLWAPI.dll:UrlUnescapeA Pin
tbrake7-Jun-06 10:23
tbrake7-Jun-06 10:23 
AnswerRe: MFC71.dll missing export link SHLWAPI.dll:UrlUnescapeA Pin
bob169727-Jun-06 19:23
bob169727-Jun-06 19:23 
QuestionRemote Desktop with UDP socket [modified] Pin
lynchspawn7-Jun-06 9:52
lynchspawn7-Jun-06 9:52 
QuestionMDI Tab and more Pin
bingshen7-Jun-06 9:49
bingshen7-Jun-06 9:49 
QuestionOnTimer() Not Being Called after timer is set up (VS C++ 6.0) Pin
bfeero7-Jun-06 9:20
bfeero7-Jun-06 9:20 
AnswerRe: OnTimer() Not Being Called after timer is set up (VS C++ 6.0) Pin
bfeero7-Jun-06 9:28
bfeero7-Jun-06 9:28 
QuestionDocking window behaviour ? [modified] Pin
Maximilien7-Jun-06 8:41
Maximilien7-Jun-06 8:41 
Questionsome code to start to write a program to display waveforms in multiple channels Pin
mrby1237-Jun-06 7:56
mrby1237-Jun-06 7:56 
QuestionOnChange / SetModifiedFlag(TRUE) Pin
DanYELL7-Jun-06 6:58
DanYELL7-Jun-06 6:58 

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.