Thread: Major glitch losing source files with MSVC++ and WinXP

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    jasondoucette.com JasonD's Avatar
    Join Date
    Mar 2003
    Posts
    278

    Major glitch losing source files with MSVC++ and WinXP

    (I am not sure where this question belongs, as it deals specifically with MSVC++ and WinXP. I see many questions re: Dev-C++ posted here, therefore it appears to be ok to post compiler specific concerns.)

    Often when I compile a program MSVC++ will attempt to save the source files (as directed by the default settings), and this will fail, resulting in a dialog box stating so. I believe this is some kind of timing issue with winXP that I have read about before, but no other program other than MSVC++ has this problem. This is not a big deal, though, because the source files are still within the IDE, and can be saved later.

    ...HOWEVER, if I choose to quit the program (or switch projects) and have not saved any files, a dialog will ask me if I wish to do so, and of course, I click 'yes'. If a save fails during this there is NO dialog box informing me that it did not work, AND the program quits (or switches projects) anyway! The source file is not only NOT saved, but is completely DELETED from the hard disk. All I can say is, WOW.

    Has this happened to anyone else? Does anyone know of a fix for this particular problem? I have to be extremely careful to click 'save all' before I quit the editor, and I am not even sure if this works 100%. There also appears to be no back-up option in MSVC to save back up copies of source files.

Popular pages Recent additions subscribe to a feed