Hi guys,
Is it possible in anyway to use VC++ code in Qt. I am using VC++ 6 compiler for compiling Qt Application.
I have include afx.h header file. I hav also write this statement: CString str; Then i compiled code and code gets compiled. But the problems r coming during linking. The problem are:
Linking...
uafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in MSVCRT.lib(MSVCRT.dll)
uafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in msvcprt.lib(delop_s.obj)
uafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___wargv
uafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc
release/tds_prg.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
Reply me as soon as possible.
Thanks in advance.
Regards,
Shail
Bookmarks