Click here to Skip to main content
15,909,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: why like this? Pin
Christian Graus10-Dec-01 15:42
protectorChristian Graus10-Dec-01 15:42 
AnswerRe: why like this? Pin
Michael Dunn10-Dec-01 16:41
sitebuilderMichael Dunn10-Dec-01 16:41 
QuestionHow can I make address of a member-function (__cdecl *)??? Pin
10-Dec-01 9:39
suss10-Dec-01 9:39 
AnswerRe: How can I make address of a member-function (__cdecl *)??? Pin
Joaquín M López Muñoz10-Dec-01 10:05
Joaquín M López Muñoz10-Dec-01 10:05 
AnswerHere's how Pin
Ravi Bhavnani10-Dec-01 10:13
professionalRavi Bhavnani10-Dec-01 10:13 
AnswerRe: How can I make address of a member-function (__cdecl *)??? Pin
Ravi Bhavnani10-Dec-01 10:15
professionalRavi Bhavnani10-Dec-01 10:15 
AnswerRe: How can I make address of a member-function (__cdecl *)??? Pin
Fazlul Kabir10-Dec-01 10:40
Fazlul Kabir10-Dec-01 10:40 
AnswerSpecification of the problem. Pin
10-Dec-01 12:15
suss10-Dec-01 12:15 
Thanks everyone for assistance, it solves the problem as I state it, but the situation I have is like this: I have a function which is predefined and this function takes a callback function as parameter. I'm creating class, each copy of which should have it's own call back function. (I'm using glut (for OpenGL) and I'm creating window class whcih uses glut functions, and I'd like glut call a member-function of the class.)

Let's say I have function
void CallIt( void(*func)(ini,int)) );

And I can not change it.

The problem is that I want to have a couple of classes which are waiting for the callback, and CallIt doesn't provide inforamtion what class set the callback Cry | :(( (

And as understood I can use only static functions or global functions and I can use class specific functions to link with CallIt.

I dont' see a way to do it, right now, but hope I'm wrong.

Regards, Alexander.
GeneralRe: Specification of the problem. Pin
Joaquín M López Muñoz10-Dec-01 22:33
Joaquín M López Muñoz10-Dec-01 22:33 
GeneralRe: Specification of the problem. Pin
11-Dec-01 6:15
suss11-Dec-01 6:15 
GeneralRe: char* byte* DLL-VC++ and Delphi Please help ! Pin
Joaquín M López Muñoz10-Dec-01 9:37
Joaquín M López Muñoz10-Dec-01 9:37 
QuestionUSB support for VC++???? Pin
Johnny_8910-Dec-01 8:23
Johnny_8910-Dec-01 8:23 
QuestionCMenu::CheckMenuItem(...)??? Pin
Rickard Andersson2010-Dec-01 7:38
Rickard Andersson2010-Dec-01 7:38 
AnswerRe: CMenu::CheckMenuItem(...)??? Pin
Christian Graus10-Dec-01 11:12
protectorChristian Graus10-Dec-01 11:12 
AnswerRe: CMenu::CheckMenuItem(...)??? Pin
Ravi Bhavnani11-Dec-01 5:18
professionalRavi Bhavnani11-Dec-01 5:18 
Generalchar* byte* DLL-VC++ and Delphi Please help ! Pin
mimi10-Dec-01 7:36
mimi10-Dec-01 7:36 
GeneralCreate a CBitmap object, draw in it, save in (.bmp file) Pin
Remi Morin10-Dec-01 7:34
Remi Morin10-Dec-01 7:34 
GeneralRe: Create a CBitmap object, draw in it, save in (.bmp file) Pin
Bill Wilson10-Dec-01 7:42
Bill Wilson10-Dec-01 7:42 
QuestionHow to insert characters in a CRichEditViewed application? Pin
davilism10-Dec-01 7:33
davilism10-Dec-01 7:33 
QuestionHow to move the caret in CRichEditViewed application? Pin
davilism10-Dec-01 7:32
davilism10-Dec-01 7:32 
AnswerRe: How to move the caret in CRichEditViewed application? Pin
squizz10-Dec-01 10:05
squizz10-Dec-01 10:05 
GeneralRe: How to move the caret in CRichEditViewed application? Pin
davilism10-Dec-01 17:19
davilism10-Dec-01 17:19 
GeneralCan't use RTTI Pin
Chen Jiadong10-Dec-01 7:05
Chen Jiadong10-Dec-01 7:05 
GeneralRe: Can't use RTTI Pin
Ernest Laurentin10-Dec-01 8:04
Ernest Laurentin10-Dec-01 8:04 
GeneralRe: Can't use RTTI Pin
Chen Jiadong10-Dec-01 19:10
Chen Jiadong10-Dec-01 19:10 

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.