I get this problem only when compiling debug code on VS2003.
I'm using MFC in the same project that also has a CRect class, but why does this error only occur in debug mode with VS2003? It doesn't occur in release mode and not at all with Visual Studio 6.
/Tommy
- Code:
error LNK2005: "public: __thiscall CRect::CRect(struct tagRECT const &)" (??0CRect@@QAE@ABUtagRECT@@@Z) already defined in gapidraw.lib(GapiSurface.obj)
I'm using MFC in the same project that also has a CRect class, but why does this error only occur in debug mode with VS2003? It doesn't occur in release mode and not at all with Visual Studio 6.
/Tommy