Hi,
I am having a problem with building an application in Visual Studio 2008. I have declared the following in my project properties:
_BIND_TO_CURRENT_MFC_VERSION=1 _BIND_TO_CURRENT_CRT_VERSION=1 _BIND_TO_CURRENT_ATL_VERSION=1
When I build my application in VS2008 it generates an intermediate.manifest file which contains:
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC90.CRT' version='9.0.30729.1' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
Now, this machine has newer C runtime DLLs installed (version 9.0.30729.4148 can be found in the WinSxS folder). The pre processor definitions above are supposed to tell VS to use the latest runtime DLLs, but it doesn't appear to be doing so. Is anyone able to explain why dev studio won't show the newer version of these DLLs in the manifest? I can build the same application on other machines and get the right number in the manifest file, so it must be something peculiar to the setup of this one machine, but I don't know what.
The machine where I am having the problem is a Windows 2003 SP2 server. Can anyone shed any light on how dev studio works out what the latest runtime version is?
Thanks, Al.