tags:

views:

241

answers:

1

I can't run a debug sdk application because it requires both VC 8 and VC 9 versions of the CRT. But it only requires visual studio 2008 for plugin dev, which is what I need.

How do I install the debug runtimes from 2005 on to a Windows7 machine? I can't figure out how to make them run app local nor can I copy anything into the winSxS folder without a trusted installer.

A: 

Refer to this post.

As per this the debug dlls can be found at:

For Visual Studio 2005:

C:\Program Files\Microsoft Visual Studio 8\VC\redist\Debug_NonRedist\x86

For Visual Studio 2008:

C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\Debug_NonRedist\x86

Also as per what I know you need not have these dlls in the WinSxS folder. Even if these dlls are present in the same directory as your application exe is, it will do. Anyways using debug dlls in production environment is not recommended.

In case you elevate your application, make sure you set the 'Start in' path to the application home/install directory or add the path to the VC++ debug dlls to the PATH environment variable.

Ganesh R.
I'm not using this in a production environment. And copying them locally to the folder with the exe does not work.
Ben L
Are you getting a File Not Found Exception? Are you running your application elevated? Try adding the File path to PATH variable. Also try setting the current working directory to the folder containing the dlls. Else if everything fails you can try installing Visual Studio VC++ Express on that machine.
Ganesh R.
---------------------------application.exe - Application Error---------------------------The application was unable to start correctly (0xc0150002). Click OK to close the application. ---------------------------OK ---------------------------
Ben L
I ended up installing the smallest visual studio the gui would allow. That seemed to fix this problem. But I'm just kicking the ball down the field. Now I get an exception at ntdll.dll. I'll post this in another question perhaps.
Ben L