P
paul
I am exporting a class from a managed dll created in Visual C++ 2005
Express.
In A.h header file I have
// A.h
public ref class A {};
In the same module, I create a new class to be exported which will use
A as its base class.
In B.h header file.
//B.h
#include "A.h"
public ref class B : public A {};
I then try to use class B in the same module in another class called C.
In C.h header file.
//C.h
#include "B.h"
public ref class C { B^ b; };
When trying to compile the above set of classes, I get error C3213: B:
cannot export the derived type with an assembly private base type 'A'
Thanks for the response beforehand!
Express.
In A.h header file I have
// A.h
public ref class A {};
In the same module, I create a new class to be exported which will use
A as its base class.
In B.h header file.
//B.h
#include "A.h"
public ref class B : public A {};
I then try to use class B in the same module in another class called C.
In C.h header file.
//C.h
#include "B.h"
public ref class C { B^ b; };
When trying to compile the above set of classes, I get error C3213: B:
cannot export the derived type with an assembly private base type 'A'
Thanks for the response beforehand!