/ / Uninstall visual basic 2010 express

Uninstall visual basic 2010 express?


By Yuan Chen, published on May 07 , 2011

ProblemВ : I have been using Visual Fortran Composer XE for several weeks without problems. Recently, I installed Microsoft Visual Basic 2010 Express (free download), and now I get the LNK1104 error for uuid.lib. If I uninstall Visual Basic 2010 Express I do not get the link error.

EnvironmentВ : Windows 7, IntelВ®64, Visual Studio 2008

Root CauseВ : Visual Basic 2010 Express will install a new Windows SDK 7.0 probably at c:Program Files(x86)Microsoft SDKsWindowsv7.0A. This Windows SDK is incomplete, not containing the lib folder. It also updated registration key of HKEY_LOCAL_MACHINE->Microsoft->Microsoft SDKs->Windows->"CurrentInstallFolder" to reference to this new Windows SDK folder. The Visual Studio development environment will use this registration key to set "WindowsSdkDir" which is used in Visual Fortran library list.

ResolutionВ : There are two possible solutions:
1.Download and install the complete Microsoft Windows SDK manually.

2. Add your original SDK path to the Fortran project library path list:
E.g., my original SDK path before I install Visual Studio express can be got by opening a Fortran Composer XE command prompt, and run:
> echo %WindowsSDKDir
C:Program Files (x86)Microsoft Visual Studio 9.0VCPlatformSDK

In Visual Studio, select Tools > Options > Intel Visual Fortran > Compilers.
- For IA32, add "C:Program Files (x86)Microsoft Visual Studio 9.0VCPlatformSDKLib" to library list.
- For Intel 64, add "C:Program Files (x86)Microsoft Visual Studio 9.0VCPlatformSDKLibAMD64" to the library list.

Comment on
reload, if the code cannot be seen