Click here to Skip to main content
15,905,323 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionupdating status bar Pin
RalfPeter14-May-07 8:24
RalfPeter14-May-07 8:24 
AnswerRe: updating status bar Pin
led mike14-May-07 9:05
led mike14-May-07 9:05 
GeneralRe: updating status bar Pin
RalfPeter14-May-07 11:19
RalfPeter14-May-07 11:19 
GeneralRe: updating status bar Pin
led mike14-May-07 12:35
led mike14-May-07 12:35 
Questiondialog color Pin
prathuraj14-May-07 5:14
prathuraj14-May-07 5:14 
AnswerRe: dialog color Pin
Arman S.14-May-07 5:21
Arman S.14-May-07 5:21 
AnswerRe: dialog color Pin
Hamid_RT14-May-07 5:41
Hamid_RT14-May-07 5:41 
QuestionC++ Multiple inheritance Pin
ScotDolan14-May-07 4:46
ScotDolan14-May-07 4:46 
I currently get a C++ compiler error 32385:
Ambiguous access of CreateNewThread in 'mainloop'

Now, The cause of this is because the mainloop class inherits,
ClxThread object, and Poll_LenzeInvertors object. The Poll_LenzesInvertors objects also inherits ClxThread object. The ClxThread object has a function called CreateNewThread() that spinns a thread of virtual function called ThreadFunc(). I used the ClxThread to create OO way to create threads. Howver, this seems to be the problem with multiple inheritenace.
I would like to find a solution to this problem and still be capable of using my ClxThread Object. Any advise would be helpful.

Is there a way to distrigish which base class you are trying to call?

Should i just rewrite ClxThread so, it does not have to be inherited to work...


Scott


Scott Dolan
Jernie Corporation
Engineering & Manufacturing
Software, Hardware, & Enclosures

QuestionRe: C++ Multiple inheritance Pin
David Crow14-May-07 4:54
David Crow14-May-07 4:54 
AnswerRe: C++ Multiple inheritance Pin
ScotDolan14-May-07 4:59
ScotDolan14-May-07 4:59 
AnswerRe: C++ Multiple inheritance Pin
jhwurmbach14-May-07 4:59
jhwurmbach14-May-07 4:59 
AnswerRe: C++ Multiple inheritance Pin
Cedric Moonen14-May-07 5:04
Cedric Moonen14-May-07 5:04 
GeneralRe: C++ Multiple inheritance Pin
ScotDolan14-May-07 5:14
ScotDolan14-May-07 5:14 
GeneralRe: C++ Multiple inheritance Pin
ScotDolan14-May-07 5:14
ScotDolan14-May-07 5:14 
GeneralRe: C++ Multiple inheritance Pin
ScotDolan14-May-07 7:41
ScotDolan14-May-07 7:41 
GeneralRe: C++ Multiple inheritance Pin
Cedric Moonen14-May-07 7:52
Cedric Moonen14-May-07 7:52 
GeneralRe: C++ Multiple inheritance Pin
ScotDolan14-May-07 8:26
ScotDolan14-May-07 8:26 
GeneralRe: C++ Multiple inheritance Pin
Mark Salsbery14-May-07 8:18
Mark Salsbery14-May-07 8:18 
GeneralRe: Mark Has a, Does a, Where is a, Pin
ScotDolan14-May-07 8:35
ScotDolan14-May-07 8:35 
GeneralRe: Mark Has a, Does a, Where is a, Pin
Mark Salsbery14-May-07 9:01
Mark Salsbery14-May-07 9:01 
GeneralRe: Mark Has a, Does a, Where is a, Pin
led mike14-May-07 9:39
led mike14-May-07 9:39 
GeneralThe purpose of the thread class Pin
ScotDolan14-May-07 10:56
ScotDolan14-May-07 10:56 
QuestionRe: The purpose of the thread class Pin
Mark Salsbery14-May-07 11:16
Mark Salsbery14-May-07 11:16 
GeneralRe: The purpose of the thread class Pin
led mike14-May-07 12:33
led mike14-May-07 12:33 
GeneralRe: The purpose of the thread class Pin
ScotDolan15-May-07 3:26
ScotDolan15-May-07 3:26 

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.