Click here to Skip to main content
15,998,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: tapi Pin
David Crow1-Apr-09 3:31
David Crow1-Apr-09 3:31 
AnswerRe: tapi Pin
Member 4764681-Apr-09 6:47
Member 4764681-Apr-09 6:47 
QuestionRe: tapi Pin
David Crow1-Apr-09 7:15
David Crow1-Apr-09 7:15 
QuestionMultiple Inheritance question Pin
ForNow31-Mar-09 6:41
ForNow31-Mar-09 6:41 
AnswerRe: Multiple Inheritance question Pin
Stuart Dootson31-Mar-09 7:10
professionalStuart Dootson31-Mar-09 7:10 
GeneralRe: Multiple Inheritance question Pin
ForNow31-Mar-09 16:24
ForNow31-Mar-09 16:24 
GeneralRe: Multiple Inheritance question Pin
Stuart Dootson31-Mar-09 20:23
professionalStuart Dootson31-Mar-09 20:23 
GeneralRe: Multiple Inheritance question code worked Pin
ForNow31-Mar-09 18:11
ForNow31-Mar-09 18:11 
Hi,


class mylock : public CSyncObject, public CSingleLock
{
public:
mylock(BOOL bInitialLock);
BOOL Unlock();
};


mylock :: mylock(BOOL bInitialLock) : CSyncObject(NULL), CSingleLock(static_cast<CSyncObject*>(this), bInitialLock)

{
bInitialLock = FALSE;
}



Made a breakpoint when I tried to instatiate mylock with following code mylock my_threadlock(init_s);

at mylock the this value was 1feb8 as I steped into CsyncObject it remained 1feb8 when I got to CsingleLock's

contructer this value was bumped to 1FEC0 However m_hObject value was 1FEB8 CsyncObject value

Still have some debugging to do but thankx

this article also elucidates the point you tried to make

http://carcino.gen.nz/tech/cpp/multiple_inheritance_this.php

thankx again
AnswerRe: Multiple Inheritance question Pin
Joe Woodbury31-Mar-09 8:11
professionalJoe Woodbury31-Mar-09 8:11 
GeneralRe: Multiple Inheritance question Pin
Stuart Dootson31-Mar-09 12:22
professionalStuart Dootson31-Mar-09 12:22 
GeneralRe: Multiple Inheritance question Pin
ForNow31-Mar-09 15:32
ForNow31-Mar-09 15:32 
AnswerRe: Multiple Inheritance question Pin
Cedric Moonen31-Mar-09 20:19
Cedric Moonen31-Mar-09 20:19 
GeneralRe: Multiple Inheritance question Pin
ForNow1-Apr-09 2:42
ForNow1-Apr-09 2:42 
AnswerRe: Multiple Inheritance question Pin
Stuart Dootson31-Mar-09 21:44
professionalStuart Dootson31-Mar-09 21:44 
GeneralRe: Multiple Inheritance question Pin
ForNow1-Apr-09 16:05
ForNow1-Apr-09 16:05 
GeneralRe: Multiple Inheritance question [modified] Pin
Stuart Dootson1-Apr-09 21:26
professionalStuart Dootson1-Apr-09 21:26 
GeneralRe: Multiple Inheritance question Pin
ForNow2-Apr-09 2:48
ForNow2-Apr-09 2:48 
QuestionVc++6.0. ADO. When I link in RELEASE mode I get Unresolved External error on ADO. Pin
Antonio292931-Mar-09 5:32
Antonio292931-Mar-09 5:32 
AnswerRe: Vc++6.0. ADO. When I link in RELEASE mode I get Unresolved External error on ADO. Pin
David Crow31-Mar-09 5:43
David Crow31-Mar-09 5:43 
GeneralRe: Vc++6.0. ADO. When I link in RELEASE mode I get Unresolved External error on ADO. Pin
Antonio292931-Mar-09 6:12
Antonio292931-Mar-09 6:12 
GeneralRe: Vc++6.0. ADO. When I link in RELEASE mode I get Unresolved External error on ADO. Pin
Stuart Dootson31-Mar-09 7:12
professionalStuart Dootson31-Mar-09 7:12 
Questionhow to set breakpoint in this way? Pin
George_George31-Mar-09 5:27
George_George31-Mar-09 5:27 
QuestionRe: how to set breakpoint in this way? Pin
David Crow31-Mar-09 5:28
David Crow31-Mar-09 5:28 
AnswerRe: how to set breakpoint in this way? Pin
Stuart Dootson31-Mar-09 7:17
professionalStuart Dootson31-Mar-09 7:17 
QuestionWM_NCCALCSIZE bug with Vista Desktop Composition Pin
sanguino.jose31-Mar-09 5:06
sanguino.jose31-Mar-09 5:06 

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.