Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Serious Warning to Norton Anti-Virus Users

Serious Warning to Norton Anti-Virus Users

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpvisual-studiocomperformance
9 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Abin
    wrote on last edited by
    #1

    If you are using Norton Anti-Virus 2001/2002, and your operating system is Windows 2000 or Windows Xp, and your programming IDE is Visual C++ 6.0, please be warned that you might lose your hard work with a mysterious reason. Usually, if you are using above listed products together, you will frequently get this error message while programming, "Cannot save file, the file is being used by other applications.". It is OK if it happens when you are on the code editor, it can be solved by simply save the file again, so it dosen't hurt much, although annoying. But, a big BUT here, if at the exact moment you are using class wizard, one of your files will be permanently deleted by Norton Anti-Virus from your disk, it could be either the .h or .cpp of the class you were manipulating using class wizard, usually the .cpp. That deletion is permanent, there is absolutely no way to recover that file from disk. If you close Visual C++ now, you lose that file forever, it could be a project that you've been working on for weeks. Solutions? Well, there are a few, from my personal experiences: 1, Once that happens, calm down. Firstly check on hard disk see if the file is deleted, if it is, immediately use your Visual C++'s "File view" feature and find that file in file list, that is possible because Visual C++ keeps files in memory event after they're deleted from disk, unless it requires the memory space for something else. If the file still exists in "file view", open it, copy all source code to clip-board, create a new file on disk and paste the contents from clip-board, congratulations, it's back. 2, Do not use Norton Anti-Virus on Windows 2000 or Windows Xp. The bug does not exist on Windows 98/ME. 3, Well, this is my personal opinion and CodeProject.com does not hold and responsibility for this, simply stay away from Norton Anti-Virus. And no, turning "Auto protect" off does NOT help. Hope this info helps.

    J I R A P 5 Replies Last reply
    0
    • A Abin

      If you are using Norton Anti-Virus 2001/2002, and your operating system is Windows 2000 or Windows Xp, and your programming IDE is Visual C++ 6.0, please be warned that you might lose your hard work with a mysterious reason. Usually, if you are using above listed products together, you will frequently get this error message while programming, "Cannot save file, the file is being used by other applications.". It is OK if it happens when you are on the code editor, it can be solved by simply save the file again, so it dosen't hurt much, although annoying. But, a big BUT here, if at the exact moment you are using class wizard, one of your files will be permanently deleted by Norton Anti-Virus from your disk, it could be either the .h or .cpp of the class you were manipulating using class wizard, usually the .cpp. That deletion is permanent, there is absolutely no way to recover that file from disk. If you close Visual C++ now, you lose that file forever, it could be a project that you've been working on for weeks. Solutions? Well, there are a few, from my personal experiences: 1, Once that happens, calm down. Firstly check on hard disk see if the file is deleted, if it is, immediately use your Visual C++'s "File view" feature and find that file in file list, that is possible because Visual C++ keeps files in memory event after they're deleted from disk, unless it requires the memory space for something else. If the file still exists in "file view", open it, copy all source code to clip-board, create a new file on disk and paste the contents from clip-board, congratulations, it's back. 2, Do not use Norton Anti-Virus on Windows 2000 or Windows Xp. The bug does not exist on Windows 98/ME. 3, Well, this is my personal opinion and CodeProject.com does not hold and responsibility for this, simply stay away from Norton Anti-Virus. And no, turning "Auto protect" off does NOT help. Hope this info helps.

      J Offline
      J Offline
      John Clump
      wrote on last edited by
      #2

      I am running win2000, Norton AV 8.0 (2002) and C++ 6.0 and never had a problem like that. Maybe it is a different version of AV? Or a WinXP issue? That does sound very serious, I hope Norton or MS addresses that. :(

      1 Reply Last reply
      0
      • A Abin

        If you are using Norton Anti-Virus 2001/2002, and your operating system is Windows 2000 or Windows Xp, and your programming IDE is Visual C++ 6.0, please be warned that you might lose your hard work with a mysterious reason. Usually, if you are using above listed products together, you will frequently get this error message while programming, "Cannot save file, the file is being used by other applications.". It is OK if it happens when you are on the code editor, it can be solved by simply save the file again, so it dosen't hurt much, although annoying. But, a big BUT here, if at the exact moment you are using class wizard, one of your files will be permanently deleted by Norton Anti-Virus from your disk, it could be either the .h or .cpp of the class you were manipulating using class wizard, usually the .cpp. That deletion is permanent, there is absolutely no way to recover that file from disk. If you close Visual C++ now, you lose that file forever, it could be a project that you've been working on for weeks. Solutions? Well, there are a few, from my personal experiences: 1, Once that happens, calm down. Firstly check on hard disk see if the file is deleted, if it is, immediately use your Visual C++'s "File view" feature and find that file in file list, that is possible because Visual C++ keeps files in memory event after they're deleted from disk, unless it requires the memory space for something else. If the file still exists in "file view", open it, copy all source code to clip-board, create a new file on disk and paste the contents from clip-board, congratulations, it's back. 2, Do not use Norton Anti-Virus on Windows 2000 or Windows Xp. The bug does not exist on Windows 98/ME. 3, Well, this is my personal opinion and CodeProject.com does not hold and responsibility for this, simply stay away from Norton Anti-Virus. And no, turning "Auto protect" off does NOT help. Hope this info helps.

        I Offline
        I Offline
        includeh10
        wrote on last edited by
        #3

        don't scare me, i don't use Norton. don't scare urself, u made a mistake obviously: if a file is deleted from disk, u can't recorver it by 'file view'. info for 'file view' is in file '*.dsp', not in memory, and only with file name, not file content. don't argue with me now: delete a file manuely then try recorver it ... includeh10

        C A 2 Replies Last reply
        0
        • I includeh10

          don't scare me, i don't use Norton. don't scare urself, u made a mistake obviously: if a file is deleted from disk, u can't recorver it by 'file view'. info for 'file view' is in file '*.dsp', not in memory, and only with file name, not file content. don't argue with me now: delete a file manuely then try recorver it ... includeh10

          C Offline
          C Offline
          Chris Losinger
          wrote on last edited by
          #4

          includeh10 wrote: i don't use Norton then you don't know what you're talking about, in this case. this exact situation has happened to me a number of times. NAV and ClassWizard / ATL Wizard / etc will sometimes collide and the files that were being edited by VC get truncated to zero bytes. luckily, i've always been able to find the temp files in my system temp folder that VC was using for my source files. i'm not 100% sure i'll always be so lucky. yes, i've told NAV to ignore .CPP and .H files. i am constantly getting that "current file is being used by another application" message. like, 1/3 of every time i have to build. NAV + VC + 2K is risky. -c


          To explain Donald Knuth's relevance to computing is like explaining Paul's relevance to the Catholic Church. He isn't God, he isn't the Son of God, but he was sent by God to explain God to the masses.
             /. #3848917

          Fractals!

          1 Reply Last reply
          0
          • I includeh10

            don't scare me, i don't use Norton. don't scare urself, u made a mistake obviously: if a file is deleted from disk, u can't recorver it by 'file view'. info for 'file view' is in file '*.dsp', not in memory, and only with file name, not file content. don't argue with me now: delete a file manuely then try recorver it ... includeh10

            A Offline
            A Offline
            Abin
            wrote on last edited by
            #5

            I wish you have tested what you said... Anyway, open a project, open a source file use file view(so make sure that file is loaded into memory by VC++), then delete that file from disk manually, now back to file view and see that file and all its contents are still there, you can copy them to clipboard. Anyway, if you never encountered the problem then good, really good because it's not a good thing to lose a source file that you've spent hours on. But I know it's not only me that had the problem so I just wanted to warn others who could potentially lose their works.

            R 1 Reply Last reply
            0
            • A Abin

              If you are using Norton Anti-Virus 2001/2002, and your operating system is Windows 2000 or Windows Xp, and your programming IDE is Visual C++ 6.0, please be warned that you might lose your hard work with a mysterious reason. Usually, if you are using above listed products together, you will frequently get this error message while programming, "Cannot save file, the file is being used by other applications.". It is OK if it happens when you are on the code editor, it can be solved by simply save the file again, so it dosen't hurt much, although annoying. But, a big BUT here, if at the exact moment you are using class wizard, one of your files will be permanently deleted by Norton Anti-Virus from your disk, it could be either the .h or .cpp of the class you were manipulating using class wizard, usually the .cpp. That deletion is permanent, there is absolutely no way to recover that file from disk. If you close Visual C++ now, you lose that file forever, it could be a project that you've been working on for weeks. Solutions? Well, there are a few, from my personal experiences: 1, Once that happens, calm down. Firstly check on hard disk see if the file is deleted, if it is, immediately use your Visual C++'s "File view" feature and find that file in file list, that is possible because Visual C++ keeps files in memory event after they're deleted from disk, unless it requires the memory space for something else. If the file still exists in "file view", open it, copy all source code to clip-board, create a new file on disk and paste the contents from clip-board, congratulations, it's back. 2, Do not use Norton Anti-Virus on Windows 2000 or Windows Xp. The bug does not exist on Windows 98/ME. 3, Well, this is my personal opinion and CodeProject.com does not hold and responsibility for this, simply stay away from Norton Anti-Virus. And no, turning "Auto protect" off does NOT help. Hope this info helps.

              R Offline
              R Offline
              Roman Nurik
              wrote on last edited by
              #6

              YES, this is the exact problem i've been having for years and it deleted one of the CPP files of my project! annoying, but eh, oh well... i'd probably never finish it anyway so i switched to .NET and so far I haven't gotten that error :-D

              - Roman -

              1 Reply Last reply
              0
              • A Abin

                I wish you have tested what you said... Anyway, open a project, open a source file use file view(so make sure that file is loaded into memory by VC++), then delete that file from disk manually, now back to file view and see that file and all its contents are still there, you can copy them to clipboard. Anyway, if you never encountered the problem then good, really good because it's not a good thing to lose a source file that you've spent hours on. But I know it's not only me that had the problem so I just wanted to warn others who could potentially lose their works.

                R Offline
                R Offline
                Renjith Ramachandran
                wrote on last edited by
                #7

                if you never encountered the problem then good, really good because it's not a good thing to lose a source file that you've spent hours on. But I know it's not only me that had the problem so I just wanted to warn others who could potentially lose their works. thankx a lot....now we can notice the situaion even i dunno use the same config...oherwise all of the peoples here waste their time and fill up the Codeproject discussionboards with that problem...here someone try to argue with u..but they dunno lok on the actual problem...if it really happen try to findout some solutions...PLEASE dont fight here... Renjith-CPian.

                1 Reply Last reply
                0
                • A Abin

                  If you are using Norton Anti-Virus 2001/2002, and your operating system is Windows 2000 or Windows Xp, and your programming IDE is Visual C++ 6.0, please be warned that you might lose your hard work with a mysterious reason. Usually, if you are using above listed products together, you will frequently get this error message while programming, "Cannot save file, the file is being used by other applications.". It is OK if it happens when you are on the code editor, it can be solved by simply save the file again, so it dosen't hurt much, although annoying. But, a big BUT here, if at the exact moment you are using class wizard, one of your files will be permanently deleted by Norton Anti-Virus from your disk, it could be either the .h or .cpp of the class you were manipulating using class wizard, usually the .cpp. That deletion is permanent, there is absolutely no way to recover that file from disk. If you close Visual C++ now, you lose that file forever, it could be a project that you've been working on for weeks. Solutions? Well, there are a few, from my personal experiences: 1, Once that happens, calm down. Firstly check on hard disk see if the file is deleted, if it is, immediately use your Visual C++'s "File view" feature and find that file in file list, that is possible because Visual C++ keeps files in memory event after they're deleted from disk, unless it requires the memory space for something else. If the file still exists in "file view", open it, copy all source code to clip-board, create a new file on disk and paste the contents from clip-board, congratulations, it's back. 2, Do not use Norton Anti-Virus on Windows 2000 or Windows Xp. The bug does not exist on Windows 98/ME. 3, Well, this is my personal opinion and CodeProject.com does not hold and responsibility for this, simply stay away from Norton Anti-Virus. And no, turning "Auto protect" off does NOT help. Hope this info helps.

                  A Offline
                  A Offline
                  Alexandru Savescu
                  wrote on last edited by
                  #8

                  I wonder if any of what you have described have happened to Michael Dunn while we was working for them :) Best regards, Alexandru Savescu

                  1 Reply Last reply
                  0
                  • A Abin

                    If you are using Norton Anti-Virus 2001/2002, and your operating system is Windows 2000 or Windows Xp, and your programming IDE is Visual C++ 6.0, please be warned that you might lose your hard work with a mysterious reason. Usually, if you are using above listed products together, you will frequently get this error message while programming, "Cannot save file, the file is being used by other applications.". It is OK if it happens when you are on the code editor, it can be solved by simply save the file again, so it dosen't hurt much, although annoying. But, a big BUT here, if at the exact moment you are using class wizard, one of your files will be permanently deleted by Norton Anti-Virus from your disk, it could be either the .h or .cpp of the class you were manipulating using class wizard, usually the .cpp. That deletion is permanent, there is absolutely no way to recover that file from disk. If you close Visual C++ now, you lose that file forever, it could be a project that you've been working on for weeks. Solutions? Well, there are a few, from my personal experiences: 1, Once that happens, calm down. Firstly check on hard disk see if the file is deleted, if it is, immediately use your Visual C++'s "File view" feature and find that file in file list, that is possible because Visual C++ keeps files in memory event after they're deleted from disk, unless it requires the memory space for something else. If the file still exists in "file view", open it, copy all source code to clip-board, create a new file on disk and paste the contents from clip-board, congratulations, it's back. 2, Do not use Norton Anti-Virus on Windows 2000 or Windows Xp. The bug does not exist on Windows 98/ME. 3, Well, this is my personal opinion and CodeProject.com does not hold and responsibility for this, simply stay away from Norton Anti-Virus. And no, turning "Auto protect" off does NOT help. Hope this info helps.

                    P Offline
                    P Offline
                    Pizzor2000
                    wrote on last edited by
                    #9

                    Yeah. I use Norton 2003, XPPro, and VC6, and I get the first problem (the cannot save dialog) all the time. Do you, by any chance, know how to stop that error, short of uninstalling Norton?

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups