alkatal

Hi i added to an ATL (Extensibility project )project folowing classes:
http://www.codeproject.com/library/GomzyHTMLReader.asp

i nedd them since i m using a HTML Parser.

Know i m getting folowing error


mfcs80.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in AddIn.obj


project prop:
dll
MFC in shared dll
Dynamic Link to ATL
Multibyte character set
No Common language suppot
/Zi
Preprocessor def
WIN32;_WINDOWS;NDEBUG;_USRDLL
/MD

I tried rebuilding deleting all i could find by googling

any idea
mny thnks









Re: Visual C++ General Error LNK 2005

Sarath.

Please see the following KB article and try whether you can resolve it or not

http://support.microsoft.com/kb/148652






Re: Visual C++ General Error LNK 2005

alkatal

no does not works. already tried that by googling
thnks




Re: Visual C++ General Error LNK 2005

alkatal

seems that mfcs80.lib is there 2 times mfcs80.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in AddIn.obj



------ Build started: Project: HELAddin, Configuration: Release Win32 ------
Linking...
Searching libraries
Searching ../release\MYConnection.lib:
Searching ../release\MY.lib:
Searching ../release\newmat.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msdasc.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atl.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atls.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\comsuppw.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfc80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcs80.lib:
mfcs80.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in AddIn.obj
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcrt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msimg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comctl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcprt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\opengl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\wininet.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\MSVCMRT.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\MSCOREE.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ws2_32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\mswsock.lib:
Searching ../release\MYConnectionIntexConnection.lib:
Searching ../release\MY.lib:
Searching ../release\newmat.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msdasc.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atl.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atls.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\comsuppw.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfc80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcs80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcrt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msimg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comctl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcprt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\opengl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\wininet.lib:
Finished searching libraries
Creating library Release/HELAddin.lib and object Release/HELAddin.exp
Searching libraries
Searching ../release\MYConnection.lib:
Searching ../release\MY.lib:
Searching ../release\newmat.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msdasc.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atl.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atls.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\comsuppw.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfc80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcs80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcrt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msimg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comctl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcprt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\opengl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\wininet.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\MSVCMRT.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\MSCOREE.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ws2_32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\mswsock.lib:
Finished searching libraries
Searching libraries
Searching ../release\MYConnection.lib:
Searching ../release\MY.lib:
Searching ../release\newmat.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msdasc.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atl.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atls.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\comsuppw.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfc80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcs80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcrt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msimg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comctl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcprt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\opengl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\wininet.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\MSVCMRT.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\MSCOREE.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ws2_32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\mswsock.lib:
Finished searching libraries
Searching libraries
Searching ../release\MYConnection.lib:
Searching ../release\MY.lib:
Searching ../release\newmat.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msdasc.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atl.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atls.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\comsuppw.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfc80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcs80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcrt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msimg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comctl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcprt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\opengl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\wininet.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\MSVCMRT.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\MSCOREE.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ws2_32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\mswsock.lib:
Searching ../release\MYConnection.lib:
Searching ../release\MY.lib:
Searching ../release\newmat.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msdasc.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atl.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atls.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\comsuppw.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfc80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcs80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcrt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msimg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comctl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcprt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\opengl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\wininet.lib:
Finished searching libraries
Searching libraries
Searching ../release\IntexConnection.lib:
Searching ../release\MYConnection.lib:
Searching ../release\MY.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msdasc.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atl.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atls.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\comsuppw.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfc80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcs80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcrt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msimg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comctl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcprt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\opengl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\wininet.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\MSVCMRT.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\MSCOREE.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ws2_32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\mswsock.lib:
Searching ../release\MYConnection.lib:
Searching ../release\MY.lib:
Searching ../release\newmat.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msdasc.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atl.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atls.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\comsuppw.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfc80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcs80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcrt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msimg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comctl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcprt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\opengl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\wininet.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\MSVCMRT.lib:
Finished searching libraries
Searching libraries
Searching ../release\MYConnection.lib:
Searching ../release\MY.lib:
Searching ../release\newmat.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msdasc.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atl.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atls.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\comsuppw.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfc80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcs80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcrt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msimg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comctl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcprt.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\opengl32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\wininet.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\MSVCMRT.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\MSCOREE.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ws2_32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\mswsock.lib:
Searching ../release\MYConnection.lib:
Searching ../release\MY.lib:
Searching ../release\newmat.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\msdasc.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atl.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\atls.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\comsuppw.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfc80.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcs80.lib:
Finished searching libraries
Release/HELAddin.dll : fatal error LNK1169: one or more multiply defined symbols found




Re: Visual C++ General Error LNK 2005

alkatal

i ignored mfcs80.lib

now i m getting

Connect.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
Selection.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
MyConnection.lib(LiteHTMLAttributes.obj) : error LNK2001: unresolved external symbol __afxForceEXCLUDE
Connect.obj : error LNK2001: unresolved external symbol __afxForceUSRDLL
Selection.obj : error LNK2001: unresolved external symbol __afxForceUSRDLL
Connect.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
DealSelection.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
MYConnection.lib(LiteHTMLAttributes.obj) : error LNK2001: unresolved external symbol __afxForceSTDAFX







Re: Visual C++ General Error LNK 2005

e120281

alkatal i also have the same problem.

i also tried to ignore the mfcs80.lib but a get unresolved externals.

how did you solve this problem.