Hey everyone, I need some major help. I was going to get some development time in on one of my projects when I found that my installation of VS2008 Pro no longer wanted to compile any projects.

I have tried making empty problems with just the int main(), nothing else added or included, but I still get unresolved linker errors.

I have tried uninstalling everything related to VS2008 including .Net Framework 3.5.

Here are some of the errors I have been getting:

Error 5 error LNK2001: unresolved external symbol __imp__GetCurrentProcess@0 MSVCRT.lib
Error 13 error LNK2001: unresolved external symbol __imp__GetCurrentProcessId@0 MSVCRT.lib
Error 12 error LNK2001: unresolved external symbol __imp__GetCurrentThreadId@0 MSVCRT.lib
Error 14 error LNK2001: unresolved external symbol __imp__GetSystemTimeAsFileTime@4 MSVCRT.lib
Error 11 error LNK2001: unresolved external symbol __imp__GetTickCount@0 MSVCRT.lib
Error 3 error LNK2001: unresolved external symbol __imp__InterlockedCompareExchange@12 MSVCRT.lib
Error 1 error LNK2001: unresolved external symbol __imp__InterlockedExchange@8 MSVCRT.lib
Error 9 error LNK2001: unresolved external symbol __imp__IsDebuggerPresent@0 MSVCRT.lib
Error 10 error LNK2001: unresolved external symbol __imp__QueryPerformanceCounter@4 MSVCRT.lib
Error 7 error LNK2001: unresolved external symbol __imp__SetUnhandledExceptionFilter@4 MSVCRT.lib
Error 8 error LNK2001: unresolved external symbol __imp__SetUnhandledExceptionFilter@4 MSVCRT.lib
Error 2 error LNK2001: unresolved external symbol __imp__Sleep@4 MSVCRT.lib
Error 4 error LNK2001: unresolved external symbol __imp__TerminateProcess@8 MSVCRT.lib
Error 6 error LNK2001: unresolved external symbol __imp__UnhandledExceptionFilter@4 MSVCRT.lib
Error 15 fatal error LNK1120: 13 unresolved externals F:\Users\GMan\Documents\Visual Studio 2008\Projects\TEst\Release\TEst.exe

#include <iostream>

using namespace std;

int main()
{
	cout << "Hello World" << endl;
}

The project above is a Win32 Empty Console Application.

I have not used the program in several months but the only recent change was installing some updates for vista (including .net framework 4 in order to use the latest Live client).

I really need some help, all of the threads I have found thus far on Google have all said roughly the same thing:

something is wrong with the dependencies or framework install, reinstalling everything should fix it.

Tried it, but still getting these problems.

Have you tried really installing msvc++?

Hello,

thanks to your fast answer.

I compare option from this projet to an other that compile and I found the problem :
in properties -> linker -> input
Additional Dependencies was set to $(NoInherit) and then he don't load any library.

It is strange this option is set by default when creating a projet.

Regards

I found it here. Just learn to use google.

I found it here. Just learn to use google.

Hi Sergent,

I already saw that post, and I checked, my linker does not have that value set. It does have these inherited dependencies though:

kernel32.lib
user32.lib
gdi32.lib
winspool.lib
comdlg32.lib
advapi32.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
odbc32.lib
odbccp32.lib

Have you tried really installing msvc++?

By this you mean...? I have already tried reinstalling VS2008, I also uninstalled the Windows SDK and .Net Framework 3.5. I only reinstalled the framework though because installing the Win SDK did not have any effect fixing the problem before I decided to reinstall.

I do not have the express version, it is the Professional one which is supposed to come with all that stuff already on the disk.

Sorry I meant to say reinstall. I typed that on my phone and auto complete took over. It appears that everything is related to MSVCRT.lib. I would check to make sure the file exist and is where it is supposed to be. You might also want to check that you are not trying to link to the static and dynamic lib's at the same time.

Sorry I meant to say reinstall. I typed that on my phone and auto complete took over. It appears that everything is related to MSVCRT.lib. I would check to make sure the file exist and is where it is supposed to be. You might also want to check that you are not trying to link to the static and dynamic lib's at the same time.

How would I be able to tell if I am trying to link both libraries at once?

I have looked in my C and F drive for the msvcrt.lib but have not found it. I am currently installing the Windows 7/.Net Framework 3.5 SP1 SDK to see if that might fix it (someone on another forum recommended it in response to someone who also could not find the above library file).

Also here is the verbose output from that compile, maybe it will shed some light on this:

1>------ Build started: Project: TEst, Configuration: Release Win32 ------
1>Linking...
1>Starting pass 1
1>Processed /DEFAULTLIB:msvcprt
1>Processed /DEFAULTLIB:MSVCRT
1>Processed /DEFAULTLIB:OLDNAMES
1>Searching libraries
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\kernel32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\user32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\gdi32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\winspool.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\comdlg32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\advapi32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\shell32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\ole32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\oleaut32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\uuid.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\odbc32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\odbccp32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\msvcprt.lib:
1> Found "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > std::cout" (__imp_?cout@std@@3V?$basic_ostream@DU?$char_traits@D@std@@@1@A)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) bool __cdecl std::uncaught_exception(void)" (__imp_?uncaught_exception@std@@YA_NXZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: char __thiscall std::basic_ios<char,struct std::char_traits<char> >::fill(void)const " (__imp_?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char const *,int)" (__imp_?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHPBDH@Z)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (__imp_?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::tie(void)const " (__imp_?tie@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU?$char_traits@D@std@@@2@XZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" (__imp_?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" (__imp_?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputc(char)" (__imp_?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" (__imp_?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > & (__cdecl*)(class std::basic_ostream<char,struct std::char_traits<char> > &))" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAV01@AAV01@@Z@Z)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: class std::basic_streambuf<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::rdbuf(void)const " (__imp_?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@XZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)" (__imp_?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::endl(class std::basic_ostream<char,struct std::char_traits<char> > &)" (__imp_?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@Z)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: int __thiscall std::ios_base::width(int)" (__imp_?width@ios_base@std@@QAEHH@Z)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: int __thiscall std::ios_base::width(void)const " (__imp_?width@ios_base@std@@QBEHXZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: int __thiscall std::ios_base::flags(void)const " (__imp_?flags@ios_base@std@@QBEHXZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: bool __thiscall std::ios_base::good(void)const " (__imp_?good@ios_base@std@@QBE_NXZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: int __thiscall std::ios_base::rdstate(void)const " (__imp_?rdstate@ios_base@std@@QBEHXZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: static int __cdecl std::char_traits<char>::eof(void)" (__imp_?eof@?$char_traits@D@std@@SAHXZ)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: static bool __cdecl std::char_traits<char>::eq_int_type(int const &,int const &)" (__imp_?eq_int_type@?$char_traits@D@std@@SA_NABH0@Z)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found "__declspec(dllimport) public: static unsigned int __cdecl std::char_traits<char>::length(char const *)" (__imp_?length@?$char_traits@D@std@@SAIPBD@Z)
1> Referenced in main.obj
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found __IMPORT_DESCRIPTOR_MSVCP90
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found __NULL_IMPORT_DESCRIPTOR
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Found MSVCP90_NULL_THUNK_DATA
1> Referenced in msvcprt.lib(MSVCP90.dll)
1> Loaded msvcprt.lib(MSVCP90.dll)
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCRT.lib:
1> Found @__security_check_cookie@4
1> Referenced in main.obj
1> Loaded MSVCRT.lib(secchk.obj)
1> Found _mainCRTStartup
1> Loaded MSVCRT.lib(crtexe.obj)
1> Found ___report_gsfailure
1> Referenced in MSVCRT.lib(secchk.obj)
1> Loaded MSVCRT.lib(gs_report.obj)
1> Found ___security_cookie
1> Referenced in MSVCRT.lib(secchk.obj)
1> Referenced in MSVCRT.lib(gs_report.obj)
1> Loaded MSVCRT.lib(gs_cookie.obj)
1> Found ___CxxSetUnhandledExceptionFilter
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(unhandld.obj)
1> Found __amsg_exit
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __imp____getmainargs
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __dowildcard
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(wildcard.obj)
1> Found __newmode
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(_newmode.obj)
1> Found _atexit
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(atonexit.obj)
1> Found __RTC_Terminate
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(_initsect_.obj)
1> Found __imp___cexit
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __imp___exit
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __XcptFilter
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __imp__exit
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __imp____initenv
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __IsNonwritableInCurrentImage
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(pesect.obj)
1> Found __initterm
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found ___xc_a
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(cinitexe.obj)
1>Processed /DEFAULTLIB:kernel32.lib
1> Processed /DISALLOWLIB:libc.lib
1> Processed /DISALLOWLIB:libcd.lib
1> Processed /DISALLOWLIB:libcmt.lib
1> Processed /DISALLOWLIB:libcmtd.lib
1> Processed /DISALLOWLIB:msvcrtd.lib
1> Found __initterm_e
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found ___native_startup_state
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(natstart.obj)
1> Found __SEH_epilog4
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Referenced in MSVCRT.lib(atonexit.obj)
1> Loaded MSVCRT.lib(sehprolg4.obj)
1> Found __except_handler4
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Referenced in MSVCRT.lib(atonexit.obj)
1> Referenced in MSVCRT.lib(pesect.obj)
1> Referenced in MSVCRT.lib(sehprolg4.obj)
1> Loaded MSVCRT.lib(chandler4gs.obj)
1> Found __imp___configthreadlocale
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found ___globallocalestatus
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(xthdloc.obj)
1> Found __setdefaultprecision
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(fp8.obj)
1> Found __imp____setusermatherr
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __matherr
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(merr.obj)
1> Found __setargv
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(dllargv.obj)
1> Found __adjust_fdiv
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(adjustfd.obj)
1> Found __imp___adjust_fdiv
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __commode
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(xncommod.obj)
1> Found __imp____p__commode
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __fmode
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(xtxtmode.obj)
1> Found __imp____p__fmode
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __imp___encode_pointer
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Referenced in MSVCRT.lib(atonexit.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __imp____set_app_type
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found ___security_init_cookie
1> Referenced in MSVCRT.lib(crtexe.obj)
1> Loaded MSVCRT.lib(gs_support.obj)
1> Found __crt_debugger_hook
1> Referenced in MSVCRT.lib(gs_report.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found "void __cdecl terminate(void)" (?terminate@@YAXXZ)
1> Referenced in MSVCRT.lib(unhandld.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __IMPORT_DESCRIPTOR_MSVCR90
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __unlock
1> Referenced in MSVCRT.lib(atonexit.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found ___dllonexit
1> Referenced in MSVCRT.lib(atonexit.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __lock
1> Referenced in MSVCRT.lib(atonexit.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __imp___onexit
1> Referenced in MSVCRT.lib(atonexit.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __imp___decode_pointer
1> Referenced in MSVCRT.lib(atonexit.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __except_handler4_common
1> Referenced in MSVCRT.lib(chandler4gs.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __invoke_watson
1> Referenced in MSVCRT.lib(fp8.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found __controlfp_s
1> Referenced in MSVCRT.lib(fp8.obj)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Found MSVCR90_NULL_THUNK_DATA
1> Referenced in MSVCRT.lib(MSVCR90.dll)
1> Loaded MSVCRT.lib(MSVCR90.dll)
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\OLDNAMES.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\kernel32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\user32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\gdi32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\winspool.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\comdlg32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\advapi32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\shell32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\ole32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\oleaut32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\uuid.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\odbc32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\odbccp32.lib:
1> Searching F:\Program Files\Microsoft Visual Studio 9.0\VC\lib\msvcprt.lib:
1>Finished searching libraries
1>Finished pass 1
1>MSVCRT.lib(crtexe.obj) : error LNK2001: unresolved external symbol __imp__InterlockedExchange@8
1>MSVCRT.lib(crtexe.obj) : error LNK2001: unresolved external symbol __imp__Sleep@4
1>MSVCRT.lib(crtexe.obj) : error LNK2001: unresolved external symbol __imp__InterlockedCompareExchange@12
1>MSVCRT.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp__TerminateProcess@8
1>MSVCRT.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentProcess@0
1>MSVCRT.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp__UnhandledExceptionFilter@4
1>MSVCRT.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp__SetUnhandledExceptionFilter@4
1>MSVCRT.lib(unhandld.obj) : error LNK2001: unresolved external symbol __imp__SetUnhandledExceptionFilter@4
1>MSVCRT.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp__IsDebuggerPresent@0
1>MSVCRT.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp__QueryPerformanceCounter@4
1>MSVCRT.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp__GetTickCount@0
1>MSVCRT.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentThreadId@0
1>MSVCRT.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentProcessId@0
1>MSVCRT.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp__GetSystemTimeAsFileTime@4
1>F:\Users\GMan\Documents\Visual Studio 2008\Projects\TEst\Release\TEst.exe : fatal error LNK1120: 13 unresolved externals
1>Build Time 0:02
1>Build log was saved at "file://f:\Users\GMan\Documents\Visual Studio 2008\Projects\TEst\TEst\Release\BuildLog.htm"
1>TEst - 15 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I have looked in my C and F drive for the msvcrt.lib but have not found it./QUOTE]

I found the file finally, it was in F:\Program Files\Microsoft Visual Studio 9.0\VC\lib, which was listed in the VC++ Directories Lib section.

I am going to try uninstalling again, but I will also remove all of the left over files (MyDocs settings and registry values if there are any) and see if that makes a difference.

I noticed something when I reinstalled, all of my settings were still in place and it even listed previously opened projects on the start page when I started VS2008. To me that means the uninstaller did not remove the settings config files, so I will do so manually and see what happens.

Alright, after wiping everything out and getting the correct configuration screen I am now sure that my settings were not carried over.

However I still have the same problem, even on a 100% new installation of VS2008.... Beginning to seem hopeless.

For future reference to people who have this issues make sure that you install VS onto only your system disk. Installing it to multiple hard drives causes VS to fail to link the dependencies correctly. I do not know why, or how it fails to work even when the correct paths are given.

I just reinstalled VS2008 to just my C drive instead of on my C and F (my main hard drive) and I no longer have any problems with it, works right out of the gate.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.