CompuServe Messages

#Link error

    19-Jul-93 23:56:24
Sb: #7028-#Link error
Fm: Jim Schlight 70077,2120
To: Kevin Irlen 76666,2005
Kevin, My _vtbl link error is related to declaring a destructor method for my class. No destructor method, no link error. The following code demonstrates the problem. What do you suggest I do? Jim. —————————————————— #include "CArray.h" class X : public CArray { public: X (void); // ~X (void); // remove comment -> no vtable virtual void foobar(void); }; X::X(void) {} // X::~X(void) {} // remove comment -> no vtable void X::foobar(void) {} void func(void); void func(void) { X *x; x->foobar(); }