error LNK2005:急
lgytj 2003-12-30 01:55:39 我用vc6进行开发。在stdafx.h中定义了一个结构
struct _PyIndexStru{
const unsigned char *_PyMa;
const unsigned char *_YunMu;
};
typedef struct _PyIndexStru _PyIndexType;
然后在一个新增的类doclass.cpp中声明_PyIndexType *p1,*p2;
就报错:
StdAfx.obj : error LNK2005: "struct _PyIndexStru * * PyIndexPointer" (?PyIndexPointer@@3PAPAU_PyIndexStru@@A) already defined in DoClass.obj
哪位高手能帮忙解决一下吗?不胜感谢:)