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

C / C++ / MFC

 
GeneralRe: Web Scrapper Pin
NitinPatil23-Nov-06 4:38
NitinPatil23-Nov-06 4:38 
GeneralRe: Web Scrapper Pin
David Crow27-Nov-06 3:37
David Crow27-Nov-06 3:37 
QuestionHow to run windows media player from Mfc project? Pin
sir_moreno21-Nov-06 2:47
sir_moreno21-Nov-06 2:47 
AnswerRe: How to run windows media player from Mfc project? Pin
Mark Salsbery21-Nov-06 6:17
Mark Salsbery21-Nov-06 6:17 
QuestionRe: How to run windows media player from Mfc project? Pin
David Crow21-Nov-06 8:29
David Crow21-Nov-06 8:29 
AnswerRe: How to run windows media player from Mfc project? Pin
Michael Dunn21-Nov-06 8:38
sitebuilderMichael Dunn21-Nov-06 8:38 
GeneralRe: How to run windows media player from Mfc project? Pin
sir_moreno21-Nov-06 21:53
sir_moreno21-Nov-06 21:53 
QuestionHo can I get the path of "My Documents" folder? Pin
Sameer_Thakur21-Nov-06 2:44
Sameer_Thakur21-Nov-06 2:44 
AnswerRe: Ho can I get the path of "My Documents" folder? Pin
Tony Hill21-Nov-06 3:08
professionalTony Hill21-Nov-06 3:08 
AnswerRe: Ho can I get the path of "My Documents" folder? Pin
Mila02521-Nov-06 3:08
Mila02521-Nov-06 3:08 
AnswerRe: Ho can I get the path of "My Documents" folder? Pin
ThatsAlok21-Nov-06 18:49
ThatsAlok21-Nov-06 18:49 
QuestionHigh speed drawing technology Pin
A_Fa21-Nov-06 2:31
A_Fa21-Nov-06 2:31 
AnswerRe: High speed drawing technology Pin
Mark Salsbery21-Nov-06 6:24
Mark Salsbery21-Nov-06 6:24 
GeneralRe: High speed drawing technology Pin
Steve S21-Nov-06 21:48
Steve S21-Nov-06 21:48 
GeneralRe: High speed drawing technology Pin
Mark Salsbery22-Nov-06 6:09
Mark Salsbery22-Nov-06 6:09 
AnswerRe: High speed drawing technology Pin
Mark Salsbery22-Nov-06 6:21
Mark Salsbery22-Nov-06 6:21 
Questiona problem with function pointer Pin
Alex Cutovoi21-Nov-06 2:26
Alex Cutovoi21-Nov-06 2:26 
AnswerRe: a problem with function pointer Pin
Cedric Moonen21-Nov-06 2:38
Cedric Moonen21-Nov-06 2:38 
The problem comes from the fact that global functions and class functions don't have the same signature: for the class functions, the this (address of the instance of the class which call the function) is passed implicitely with the paramters.

If you want to solve the problem, specify your function as statis but then the problem will be that you won't be able to access non-static members (the function doesn't belong to any instance).

Again, you can solve this problem by using a global function as callback and pass the address of your instance (this pointer) to the hdScheduleAsynchronous function. Normally, every call back lets you do this. Then, inside your global callback function, cast the void pointer to a Object3DS* pointer and call a function from within your class.

An even nicer way to do it is not to use a global function but a static function from your class.


Cédric Moonen
Software developer

Charting control [v1.1]

GeneralRe: a problem with function pointer Pin
Alex Cutovoi21-Nov-06 4:51
Alex Cutovoi21-Nov-06 4:51 
AnswerRe: a problem with function pointer Pin
CPallini21-Nov-06 2:46
mveCPallini21-Nov-06 2:46 
GeneralRe: a problem with function pointer Pin
Alex Cutovoi21-Nov-06 4:51
Alex Cutovoi21-Nov-06 4:51 
AnswerRe: a problem with function pointer Pin
David Crow21-Nov-06 3:19
David Crow21-Nov-06 3:19 
GeneralRe: a problem with function pointer Pin
Alex Cutovoi21-Nov-06 4:50
Alex Cutovoi21-Nov-06 4:50 
Questionwhy "default Beep" windows sound is played Pin
singersinger21-Nov-06 2:11
singersinger21-Nov-06 2:11 
AnswerRe: why "default Beep" windows sound is played Pin
Viorel.21-Nov-06 2:49
Viorel.21-Nov-06 2:49 

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.