Link to home
Start Free TrialLog in
Avatar of mbarron
mbarron

asked on

MSVC++ V5 DEBUGGER WON'T EXECUTE

I have new install on a second machine. I copied Workspace
and Project info from old computer into corresponding
directory of the new install. I can recompile the project
on the new computer, but when I hit 'F5' to start debug , I get the
message: "Can not execute. Invalid Directory .Win32 Error 267" . This is followed by a second message:
"Can not execute program." When I locate the newly built
executable, it does execute properly. It seems to me
that the debugger itself will not run. On the Old machine
MSVC was on D: on the new machine it is on C: .
I don't see the answer in Project - Settings .
The View - Debug Windows choice shows only grayed
out choices for CallStack, Memory etc.
 What is wrong here.
ASKER CERTIFIED SOLUTION
Avatar of arunm
arunm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of McCreary
McCreary

On the Visual C++ menu go to project/setting, hit the DEBUG tab and check the drive and path of the executable.

Also go to menu tools/options, hit the directory tab and make sure all your libraries, MFC source, includes,  everything is set to the new drive.
Check your menu find the
options...

go to links, and you will see include in a combo box.  there you click to see the various paths, just enter the path that your other projects are in.  This way you have the least chance of stuffing up the Drives. :0

Check your menu find the
options...

go to links, and you will see include in a combo box.  there you click to see the various paths, just enter the path that your other projects are in.  This way you have the least chance of stuffing up the Drives. :0

Avatar of mbarron

ASKER

Many Thanks,
Project,Settings,Debug,Working Directory was non-existant