Re: [GD-Windows] Running VS2005 cl.exe without installing
Brought to you by:
vexxed72
From: Alen L. <ale...@cr...> - 2007-07-17 06:57:39
|
Alen wrote: > So far I seem to have tracked this to the fact that cl.exe from > VS2005SP1 actually requires an older version of the msvcrt80.dll and > its manifest and it refuses to work with the ones distributed with > VS2005 SP1. Weirdly enough I don't find these installed in System, > WinSxS or VS2005 folders on my developer machine, but I have them in > the X360 and VS2003 folders. Strange as hell, but it might work. Just for the (google) record, seems that this has solved the problem. Examining the cl.exe from VS2005 SP1 with resource editor shows that its manifest requires msvcrt80 version 8.0.50608.0. A simple search for *VC80*.manifest files containing the string "8.0.50608.0", on the entire disk of a machine which works, has found a matching version of the manifest along with its dlls. Just copying those dlls and the manifest to the directory where cl.exe resides, makes it work. This makes sense, according to http://msdn2.microsoft.com/EN-US/library/aa375190.aspx, as it makes cl.exe a "(partially) isolated application". What is amazing is that (according to Dependency Walker) cl.exe on my machine happily uses version 8.0.50727.762. I guess it has something to do with it being registered, probably allowing it to jump in for the older version. Cheers, Alen |