Hey the problem is solved. The folder copy that you suggested worked! (Just
so it can help someone in the future I'm writing here what I did):
Dev Environment: I'm running an application that uses WTL for gui, and I'm
building (developing) on visual c++ 2005 (all unmanaged/native) on windows
2000 sp4.
Now I have a fresh "release" build. My "exe" depends on (check through
depends.exe):
1 - cpplib.dll (this is my own dll)
2 - msvcp80.dll
3 - msvcr80.dll
My test machine1 is a new install of windows xp with sp2. The vs.net
installation has never been run on that machine.
I create a new folder (lets call it "testdir") and copy winproj.exe (my
application that I want to test) and cpplib.dll to it. Next I goto:
\Microsoft Visual Studio 8\VC\redist\Deb ug_NonRedist\x8 6\
and copy "Microsoft.VC80 .DebugCRT" folder to the folder "testdir". So now my
folder hierarchy look like following:
? cpplib.dll
? winproj.exe
?
????Microsoft.V C80.CRT
Microsoft.VC80. CRT.manifest
msvcm80.dll
msvcp80.dll
msvcr80.dll
Now I try to run the winproj.exe and it runs just fine!
Now I want to try this on another test machine that has a never installed
visual studio on it and is running windows 2000. I copy the same folder
hierarchy and the run the exe but it fails to run. Now I change the folder
hierarchy a little bit. What I do is copy every file in the same folder as
my exe file, so the manifest and the dlls and the exe are all at the same
location. Now i try to run the exe and it runs. This hierarchy now also runs
on windows xp. So I have one dsitributeable and any one can xcopy it and
run.
Regards n thanks,
-Ab.
"David Lowndes" <Da****@example .invalid> wrote in message
news:ec******** *************** *********@4ax.c om...
I place these folders there for debug application and it doesnt run.
"Doesn't run" isn't very informative.
Do you get any errors messages now?
Dave