|
-
March 18th, 2004, 11:26 AM
#1
about LNK2005
hi,guys
I meet LNK2005 when I link the program from VC6 to VC.net.
the error follows:
Searching G:\Program Files\Microsoft Visual Studio .NET\Vc7\lib\libcimtd.lib:
libcimtd.lib(ifstream.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3@YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
libcimtd.lib(ofstream.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3@YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
anyone knows how could solve this problem,thx in advance.
Ephemera
-
March 18th, 2004, 06:36 PM
#2
it's a MFC application?
there are many portability issues when compiling a MFC 6.x project in MFC 7
Read the documentation...
-
March 23rd, 2004, 04:01 AM
#3
i use the linker option /FORCE:MULTIPLE,but i dont know if there is obscure problem.
thanks for ur advises.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|