I want to use a pointer to the Drawing :: Color system structure in my colorVS inherited from my empty class color.
Color class:
// color.h class color { public: color() { ; } }; Class colorVS:
//colorVS.h #include <vcclr.h> #include <ddraw.h> #include "color.h" typedef System::Drawing::Color colorType; class colorVS : public color { public: colorVS(colorType* nclr); colorType* getVS(); private: colorType* VScolor; }; However, in this case, colorType * is marked as "Invalid incomplete type" and nothing is compiled and does not work. At the same time, if the colorVS inheritance from my color is removed, everything works fine.
Is it possible to solve this problem and, if so, how?