Arghh! Visual C++ deletes project files!
-
Oh God, I was over 2000 lines in my project then I saved it then poof! My cpp files is gone! Is this a bug or something? Can it be fixed?
I've been using VC++ since version 1 (c. 1994) and have never seen the compiler delete a cpp file. Even if you mean the editor (Visual Studio), I've never seen it delete a file either. Are you sure you just didn't save it some place other than the project dir? Cheers, Tom Archer - Archer Consulting Group
"Eat your brussel sprouts, Junior. There are starving Chinese children American programmers that would kill for that food!" -
I've been using VC++ since version 1 (c. 1994) and have never seen the compiler delete a cpp file. Even if you mean the editor (Visual Studio), I've never seen it delete a file either. Are you sure you just didn't save it some place other than the project dir? Cheers, Tom Archer - Archer Consulting Group
"Eat your brussel sprouts, Junior. There are starving Chinese children American programmers that would kill for that food!"Yep, the file is in the same directory as the project. This is bad. It occured when I click Save. I closed the workspace, reopened it then the cpp file is gone :( I even looked for it in the project dir and its not there anymore (I kept the project directory window open, and it was still there until I refreshed it after I saved the project) EDIT: After a few minutes of searching, I found one with situation similar to mine: http://www.codeguru.com/forum/showthread.php?t=332727&page=1 Another one: http://groups-beta.google.com/group/microsoft.public.vc.ide\_general/browse\_frm/thread/c48c6d2cfeaabba1/934105cfbac39cff?hl=en&lr=&ie=UTF-8&oe=UTF-8&rnum=2&prev=/groups%3Fq%3D%2522Cannot%2Bsave%2Bfile%2522%2B%2522the%2Bfile%2Bmay%2Bbe%2Bin%2Buse%2Bby%2Banother%2Bapplication%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26sa%3DN%26tab%3Dwg#934105cfbac39cff
-
Yep, the file is in the same directory as the project. This is bad. It occured when I click Save. I closed the workspace, reopened it then the cpp file is gone :( I even looked for it in the project dir and its not there anymore (I kept the project directory window open, and it was still there until I refreshed it after I saved the project) EDIT: After a few minutes of searching, I found one with situation similar to mine: http://www.codeguru.com/forum/showthread.php?t=332727&page=1 Another one: http://groups-beta.google.com/group/microsoft.public.vc.ide\_general/browse\_frm/thread/c48c6d2cfeaabba1/934105cfbac39cff?hl=en&lr=&ie=UTF-8&oe=UTF-8&rnum=2&prev=/groups%3Fq%3D%2522Cannot%2Bsave%2Bfile%2522%2B%2522the%2Bfile%2Bmay%2Bbe%2Bin%2Buse%2Bby%2Banother%2Bapplication%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26sa%3DN%26tab%3Dwg#934105cfbac39cff
Wow! Good thing I run AVG instead of Norton! :~ Cheers, Tom Archer - Archer Consulting Group
"So look up ahead at times to come, despair is not for us. We have a world and more to see, while this remains behind." - James N. Rowe -
Oh God, I was over 2000 lines in my project then I saved it then poof! My cpp files is gone! Is this a bug or something? Can it be fixed?
If you are referring to VC 7.0 (or maybe even 7.1?), this is a known "problem". For more info/verifications, you could google some MS newsgroups (usenet news). Obviously it can be fixed - but only by the ones destroying your data in the first place.
-
If you are referring to VC 7.0 (or maybe even 7.1?), this is a known "problem". For more info/verifications, you could google some MS newsgroups (usenet news). Obviously it can be fixed - but only by the ones destroying your data in the first place.
-
Oh God, I was over 2000 lines in my project then I saved it then poof! My cpp files is gone! Is this a bug or something? Can it be fixed?
yes, it has happend to me many times, after saving the file i try to compile the project, the compiler complains that the file is missing. I know this behaviour so i just do a save all again and then compile again. yes, in the past i have lost a file like this, but lucky that i use VSS.
-prakash
-
Hmm, I'm using VC 6. And yah, I looked at other boards and they have the problem too. Stupid Micro$oft <_<
yup.....it happens for me also once a while!:sigh:just compile and execute ur project and it should be back! "faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
-
yes, it has happend to me many times, after saving the file i try to compile the project, the compiler complains that the file is missing. I know this behaviour so i just do a save all again and then compile again. yes, in the past i have lost a file like this, but lucky that i use VSS.
-prakash