I've got c++/cli class library project. I need to import c++ native clases. they are declared like this
class __declspec(dllexport) Check
{
const char* type;
protected:
int val;
public:
Check(int);
Check();
const char* Type();
void Type(const char*);
virtual int Val();
void Val(int);
~Check(){};
};
class __declspec(dllexport) Test:public Check
{
const char* type;
public:
Test(int x);
int Val();
~Test(){};
};
how to import them into c++/cli project?(I've got .dll and .lib files)