VC 2008 Can't rebuild.
First, I build this program.
1 2 3 4
|
int main()
{
return -1;
}
|
Build this. After that I try to rebuild with the following code.
1 2 3 4
|
int main()
{
return 0;
}
|
It said,
fatal error LNK1104: cannot open file 'C:\Documents and Settings\Ben Kwan\My Documents\Visual Studio 2008\Projects\TestCpp\Debug\TestCpp.exe'
I am not running that program. Even I close the VC, I can't delete that .exe file in the folder. Please help
You mean to say that between compiles you did not try to do _anything_ else (like run the program)?
If you can't delete it after rebooting windows, check out Unlocker:
http://ccollomb.free.fr/unlocker/
I presume you are _not_ using Vista, right?
Thanks. It helps.
Topic archived. No new replies allowed.