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

add DLL with lib-File to Projekt
Jason Yip
The error is basically telling you that CNode might be defined more than once. You might be importing the same type library more than once into the same file.
Thanks,
Ayman Shoukry
VC++ Team