roguecoolman

Hello,

In our school labs, we deploy out Visual Studio 2005 /sp1.

A couple of students have an issue with running their program in Visual C++

\\samba\dwithers\dc\My Documents\Visual Studio 2005\Projects\Lab1Practice\Lab1Practice

CMD.EXE was started with above paths as cd

UNC paths are not supported. Defaulting to windows directory

User profiles are redirect to a network share, but i don't understand what the error means.

any help will be greatly appreciated




Re: Visual C++ General Visual Studio 2005: CMD.EXE was started with above paths as cd UNC

roguecoolman

Ok so apparently it was getting the MSVCR80D.dll error:

this application has failed to start because MSVCR80D.dll was not found.

So to resolve it, I set embed manifest to NO

Property | Configuration Properties | Manifest Tool | Input and Output | Embed Manifest, it is NO.

Why does this happen It's a very simple beginners program they were writing: printf("/n hello world");.






Re: Visual C++ General Visual Studio 2005: CMD.EXE was started with above paths as cd UNC

Bite Qiu - MSFT

Try set both "Generate Manifest" and "Embed Manifest" to "Yes". If you are deploying this application to another machine, then try

1) Make a release build, that will enable /MD option and make your application to use release version of runtime libraries.

2) Run corresponding vcredist_x86.exe file in target machine to deploy visual c++ libraries, corresponding vcredist_x86.exe file can be found in development machine's "$(VSInstallDir)SDK\v2.0\BootStrapper\Packages\vcredist_x86" directory.

If above steps does not apply to your situation, could you please provide more information like the exact error message and under which scenario it happens

hope it helps

rico