add DLL with lib-File to Projekt

Hi,
first, sorry but I donst speek wery well English !

I've add a DLL to my Projekt, but in the "tree_import.h"-File have I Errors:

tree_import.h: error C2011: 'CNode' : 'class' type redefinition


File: tree_import

class __declspec( dllimport ) CNode

{
...........

};

__declspec( dllimport ) void treeLayout(CNode* root,int dir,int x,int y,int dist1,int dist2,int& width,int& height);


I've import the lib-File in the Projekt, and That File Work on another Projekt. I try now to import that DLL on my Projekt

Thanks for help




Answer this question

add DLL with lib-File to Projekt