This could be a question more related to a general WinCE development forum but I'm posting it here first in the of chance that it's GapiDraw related. I find that if I use CFile (as defined in Afx.h) in my GapiDraw application, I get a bunch of linker errors due to symbol redefinitions.
Here are the error messages from eVC++
Has anyone run across this problem? I tried it with a eVC++ generated project and it builds fine. Thanks.
Here are the error messages from eVC++
- Code:
Linking...
uafxwced.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in coredll.lib(COREDLL.dll)
uafxwced.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in coredll.lib(COREDLL.dll)
uafxwced.lib(afxmem.obj) : warning LNK4006: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in coredll.lib(COREDLL.dll); second definition ignored
uafxwced.lib(afxmem.obj) : warning LNK4006: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in coredll.lib(COREDLL.dll); second definition ignored
Has anyone run across this problem? I tried it with a eVC++ generated project and it builds fine. Thanks.