Derive from AcGiDrawable?

Derive from AcGiDrawable?

Anonymous
Not applicable
820 Views
1 Reply
Message 1 of 2

Derive from AcGiDrawable?

Anonymous
Not applicable

I wanted to derive a class from AcGiDrawable but the ACRX_DXF_DEFINE_MEMBERS macro is giving the error: C2259: cannot instantiate abstract class. If I override all the pure virtual functions declared in AcGiDrawable, it would no longer be an abstract class?

 

Any suggestions? Surely this can be done since classes like AcDbEntity implement this class.

 

Mike B

0 Likes
Accepted solutions (1)
821 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

Sorry, missed on pure virtual function.Smiley Embarassed

 

Mike

0 Likes