DiglogFile.obj : error LNK2005: "int (__cdecl* TableSend)(void)" (?TableSend@@3P6AHXZA) already defined in DialogTable.obj
DiglogFile.obj : error LNK2005: "int (__cdecl* FileSend)(void)" (?FileSend@@3P6AHXZA) already defined in DialogTable.obj
DiglogFile.obj : error LNK2005: "struct HINSTANCE__ * hInst" (?hInst@@3PAUHINSTANCE__@@A) already defined in DialogTable.obj
DiglogFile.obj : error LNK2005: "int (__cdecl* FileSend)(void)" (?FileSend@@3P6AHXZA) already defined in DialogTable.obj
DiglogFile.obj : error LNK2005: "struct HINSTANCE__ * hInst" (?hInst@@3PAUHINSTANCE__@@A) already defined in DialogTable.obj
头文件中加上
#ifndef ×××
#define ×××
...
#endif
而且我都没有加头文件啊,我这里只列出了几个错误,所有和*.obj的文件都有这个连接错我提示,为什么啊?