0
001
I get the following error when compiling under MS VC++:
------ Build started: Project: pract-1, Configuration: Debug Win32
------
Compiling...
pract-1.cpp
Linking...
atlsd.lib(atltrace.obj) : error LNK2005: "unsigned int (__stdcall*
ATL::g_pfnGetThreadACP)(void)" (?g_pfnGetThreadACP@ATL@@3P6GIXZA)
already defined in iorw-vc7.lib(iorw-vc7-dll.obj)
Debug/pract-1.exe : fatal error LNK1169: one or more multiply defined
symbols found
Build log was saved at "file://f:\Interfacing\RS232-
pract-1\TstCom1\Debug\BuildLog.htm"
pract-1 - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
It compiles under the 2003 version though... (at least I thought that
was the version I used at school). When I opened it at home in the
2005 version I was prompted to convert the project, after that I tried
building and got the error above. I'm quite new to Microsoft's
environment and the .NET-stuff (and I only use it because my
university uses that). I think there is a simple explanantion, but
can't find it myself.
------ Build started: Project: pract-1, Configuration: Debug Win32
------
Compiling...
pract-1.cpp
Linking...
atlsd.lib(atltrace.obj) : error LNK2005: "unsigned int (__stdcall*
ATL::g_pfnGetThreadACP)(void)" (?g_pfnGetThreadACP@ATL@@3P6GIXZA)
already defined in iorw-vc7.lib(iorw-vc7-dll.obj)
Debug/pract-1.exe : fatal error LNK1169: one or more multiply defined
symbols found
Build log was saved at "file://f:\Interfacing\RS232-
pract-1\TstCom1\Debug\BuildLog.htm"
pract-1 - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
It compiles under the 2003 version though... (at least I thought that
was the version I used at school). When I opened it at home in the
2005 version I was prompted to convert the project, after that I tried
building and got the error above. I'm quite new to Microsoft's
environment and the .NET-stuff (and I only use it because my
university uses that). I think there is a simple explanantion, but
can't find it myself.