#Link error
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();
}