Re: side-by_side error on Vista



In the project settings, in C/C++ / CodeGeneration select non DLL 'runtimes library'
This fixed the problem for me




"Larry Futrell" <lfutrell@xxxxxxxxxxxxxxxxx> a écrit dans le message de news:%23HmNbBbFIHA.3980@xxxxxxxxxxxxxxxxxxxxxxx
Ron Francis wrote:
Windows XP Professional
Visual Studio 2005
Platform SDK Jan 2006
DirectX 9.0c SDK Aug 2007
No MFC or ATL

I'm not sure if this is the most appropriate group for this question, but

It's not, but I'll try to help anyway.

here goes:
I'm compiling an application on an XP machine and testing it on Vista.
As stated in the subject line, I'm getting a side-by-side configuration
error when trying to run to run it on Vista.

Vista's event viewer tells me the problem is
Dependent Assembly
Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"
could not be found
If I'm reading this correctly, (and I'm a bit of a novice) ...
Dependency Walker told me that the offending DLLs are MSVCR80.DLL and/or
MSVCP80.DLL

It seems that Vista's versions are older versions than the ones I have on
XP if the version numbers are in sequence.
I tried just copying the newer DLLs to the app's startup directory, but it
looks like those days are gone.

I'm hoping that this is a common problem and some of you will know an easy
solution?


On your XP machine, look in the directory where Visual Studio is installed for the file redist.txt which will tell you what files you are allowed to redistribute with your application. The file you probably want is vcredist_x86.exe which you can find by searching subdirectories of the Visual Studio directory (on my system it is in "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86\vcredist_x86.exe". Run that on the Vista system to install the runtime required by your application.

--
Larry Futrell


.



Relevant Pages

  • Re: side-by_side error on Vista
    ... Platform SDK Jan 2006 ... I'm compiling an application on an XP machine and testing it on Vista. ... look in the directory where Visual Studio is installed ... on the Vista system to install the runtime required by your application. ...
    (microsoft.public.win32.programmer.ui)
  • Re: Beware platform SDK with VS2005
    ... SDK is some ... Apparently VS uses executables from the Platform SDK, ... with Visual Studio are used and not the SDK's new ones. ... Vista, we use the Vista SDK, but that does not guarantee the result will ...
    (microsoft.public.vc.mfc)
  • Platform SDK for Visual Studio 2005
    ... I am currently migrating my Visual C++ 6.0 applications to Visual Studio ... I am getting compiler errors involving the VS2005's platform SDK. ... Defaulting to 0x0502 (Windows Server 2003) ...
    (microsoft.public.dotnet.languages.vc)
  • Re: GetExtendedTcpTable not available
    ... I'm running XP Pro SP2 using Visual Studio .net 2003 Visual C++ with ... Platform SDK Win2003 SP1. ... Program compiles and links fine when using a func like GetTcpTable, ... I have tried dynamically linking ...
    (microsoft.public.win32.programmer.networks)
  • Re: DLL Troubles
    ... Managed C++ DLLs don't work yet (as of Visual Studio 2003). ... > missing an assembly reference. ... > compiled first, and in the case of my C# DLL projects, everything works ...
    (microsoft.public.dotnet.languages.vc)