Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VAX 1534: VAView - inheritance error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Sep 15 2006 :  7:31:04 PM  Show Profile  Reply with Quote
The following construct leads VAView to display the common base class BaseData as direct base class of CommonData.
class BaseData 
{
public: 
  BaseData() {}
};
class DerivedData1 : public BaseData
{
public:
  DerivedData1() {}
};
class DerivedData2 : public BaseData
{
public:
  DerivedData2() {}
};

class CommonData: public DerivedData1, protected DerivedData2
{
}

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Sep 15 2006 :  7:37:28 PM  Show Profile  Reply with Quote
Also: deriving a class from the struct OVERLAPPED (win32 sdk) shows both _OVERLAPPED and OVERLAPPED as base classes.
OVERLAPPED is defined as "typedef struct _OVERLAPPED { ... } OVERLAPPED, *LPOVERLAPPED;"
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Oct 09 2006 :  6:12:04 PM  Show Profile  Reply with Quote
apologies for the delay, i am starting to catch up on my backlog.

the fist post is:

case=2918

deriving from the OVERLAPPED struct is

case=2920

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000