Try temporarily turning off any antivirus software you have. I had more strange problems and corrupted systems caused by antivirus software than all other causes combined.
-Mike
URGENT: Serious problem with VC++
I have this problem too on a win2k machine.
but if you didn''t close the window in VC++, you can do a save again until it works. (Usually the second time works). If you closed the window, too bad!..
but if you didn''t close the window in VC++, you can do a save again until it works. (Usually the second time works). If you closed the window, too bad!..
quote: Original post by tcs
Hi,
ok, we all hate this stupid URGEND stuff, but this time it''s really a bit more serious than out normal can''t solve coding problem xyz, honestly ;-)
My VC++ goes mad. Sometimes (about every 5th time) I hit CTRL+S or save my file in another way, I got a message that my source "is opened by another program". You all know this message, you can''t edit a document with two programs at the same time. And after this message, VC++ deletes my source file !?!?!
As you can imagine, this makes VC++ completely unusable. I''m using VC++ 6.0 on Win2K with SP1 installed. I tried plain VC++ and VC++ with the most recent service pack.
I phoned my employer, we both had several years of experience using VC++. We both never saw this error before, and I don''t have the slightest idea how to fix it. Installing, repairing and updating the software was useless.
Since I can''t get any work doen for my employer, my website and my other private stuff, this issue is *very* serious for me. Please share your ideas, maybe you already had this bug.
It''s very importan for me !
Thanx
Hello, I believe this error is caused by Norton Anti-Virus running in the background. If you have Auto-Protect enable that usually causes the problem.
Hello !
"Does this happen with any filename, or is it the same file/files that have the problem? Where are the files its deleting located? Does the same thing happen if you build and have automatic saving?"
Yes, the build also sometimes fails with the same error. I tried different projects and files, the same results. The folder is on my local hardrive, I disbaled network sharing to make sure it isn''t related to that.
"Also this is stupid but are you absolutely sure it is deleting the files? Also were these files you just created or files you opened and were sure were there before? "
Yep. They are really deleted ! But I can recreate them when I simply save the open file again. It happens to every kind of file, even the workspace
"Eh this could be a win2k thing too (never used it). You said you reinstalled VC++ over the old install. possibly you should try deleting vc++ completely and then installing it. "
Nope, I''ve also done a complete remove/install
"You''re the only one that "knows" this problem. Others are making suggestions based on the sparse information you have provided. I personally have installed and used VC++ 6.0 on at least ten different PCs. Many of these PCs were used for development of multi-million dollar commercial products containing large projects and millions of lines of code. I have never seen this problem on either my or my co-developer''s PCs."
I just thought someone else might run into sice problem, cuz VS is a very broad used software. I also used it on lots of different PCs, and never saw this bug. At least this bug...
"Although the suggestions from others seem irritating because you feel you have addressed them. You really need to take a step back from the problem and re-examine everything from a different perspective."
I''m trying my best !
"Make no assumptions, take nothing for granted. This is how you will solve it, even if it turns out to be outside the current suggestions. Let this be a lesson in problem solving. If you plan on (or are currently) producing computer software products for a living (or on a regular basis), you will be in this scenario many times. My experience is that stamina and elbow grease will eventually either solve or better define your problems (making them solvable)."
This IDE can be sometimes worse than a damn memory leak...
"Don''t get into a habit of blaming the tools. It''s a cop-out. Beat the crap out of the problem until it gives up. I remember when I started programming on an IBM 1130 computer in assembly language (~1972) I was convinced the instruction set of the computer was not working because my program did not work. As it turns out, the 1130 was a fine machine for its time."
I really think that VC++ is a buggy tool. It has lots of strange things, sometimes I even see "Internal Compiler Error" messages. But I know what you mean. It''s always easy to blame the tool and not seek the error by oneselve...
"- make sure none of your source files is corrupt
- save off all your source files (not MS project files)
- delete and re-create your project (delete the directories)
- try rebuilding from your saved source"
I''ll try that !
"Sometimes the files MSVC uses seem to get corrupted. In your project''s main directory, delete everything except"
Yup, maybe I should do this. Maybe something with the Service Pack made my compiler unable to read old / new version files...
"maybe a weird macro''s calling this?"
No, I don''t have any addins or other custom stuff installed in my VC++ IDE
"- make sure nothing''s running in the task list (ctrl-alt-del) except for explorer and systray before installing"
Good idea, I''ll kill all background tasks
"And I hate to say it, but run a scandisk (full physical) and a virus scan. What you''re seeing is not a typical MSVC problem. I''ve use MSVC 6.0 for quite some time, and on at least 20 different machines between home and work--I''ve never seen this kind of a problem. "
Yes, that''s whats scares me. I always have those little bugs like "Can''t access the classview". But nothing was SO serious that I can''t continue working with the tool. I already ran scandisk, can be 100% sure that all my HDs are working as they should
"Try temporarily turning off any antivirus software you have. I had more strange problems and corrupted systems caused by antivirus software than all other causes combined."
Yes ! Good idea. I just trie to kill Northon AntiV, but I better think I really deinstall it and try...
"I have this problem too on a win2k machine.
but if you didn''t close the window in VC++, you can do a save again until it works. (Usually the second time works). If you closed the window, too bad!.. "
Oh my God ! That''s 100% the problem I have !!! If you save your work and get this message, the file has been killed by VC++. If you then save again, it''s there... We both try to find the solution, I''ll tell you when I found it!! Can you please post the software and so on you use, maybe we can find a similarity between our configs and see what the problem is ???
"Hello, I believe this error is caused by Norton Anti-Virus running in the background. If you have Auto-Protect enable that usually causes the problem. "
As I said, I''ll check this in depth !
Ok, thanx guys for your suggestions, I''ll try that !!!
"Does this happen with any filename, or is it the same file/files that have the problem? Where are the files its deleting located? Does the same thing happen if you build and have automatic saving?"
Yes, the build also sometimes fails with the same error. I tried different projects and files, the same results. The folder is on my local hardrive, I disbaled network sharing to make sure it isn''t related to that.
"Also this is stupid but are you absolutely sure it is deleting the files? Also were these files you just created or files you opened and were sure were there before? "
Yep. They are really deleted ! But I can recreate them when I simply save the open file again. It happens to every kind of file, even the workspace
"Eh this could be a win2k thing too (never used it). You said you reinstalled VC++ over the old install. possibly you should try deleting vc++ completely and then installing it. "
Nope, I''ve also done a complete remove/install
"You''re the only one that "knows" this problem. Others are making suggestions based on the sparse information you have provided. I personally have installed and used VC++ 6.0 on at least ten different PCs. Many of these PCs were used for development of multi-million dollar commercial products containing large projects and millions of lines of code. I have never seen this problem on either my or my co-developer''s PCs."
I just thought someone else might run into sice problem, cuz VS is a very broad used software. I also used it on lots of different PCs, and never saw this bug. At least this bug...
"Although the suggestions from others seem irritating because you feel you have addressed them. You really need to take a step back from the problem and re-examine everything from a different perspective."
I''m trying my best !
"Make no assumptions, take nothing for granted. This is how you will solve it, even if it turns out to be outside the current suggestions. Let this be a lesson in problem solving. If you plan on (or are currently) producing computer software products for a living (or on a regular basis), you will be in this scenario many times. My experience is that stamina and elbow grease will eventually either solve or better define your problems (making them solvable)."
This IDE can be sometimes worse than a damn memory leak...
"Don''t get into a habit of blaming the tools. It''s a cop-out. Beat the crap out of the problem until it gives up. I remember when I started programming on an IBM 1130 computer in assembly language (~1972) I was convinced the instruction set of the computer was not working because my program did not work. As it turns out, the 1130 was a fine machine for its time."
I really think that VC++ is a buggy tool. It has lots of strange things, sometimes I even see "Internal Compiler Error" messages. But I know what you mean. It''s always easy to blame the tool and not seek the error by oneselve...
"- make sure none of your source files is corrupt
- save off all your source files (not MS project files)
- delete and re-create your project (delete the directories)
- try rebuilding from your saved source"
I''ll try that !
"Sometimes the files MSVC uses seem to get corrupted. In your project''s main directory, delete everything except"
Yup, maybe I should do this. Maybe something with the Service Pack made my compiler unable to read old / new version files...
"maybe a weird macro''s calling this?"
No, I don''t have any addins or other custom stuff installed in my VC++ IDE
"- make sure nothing''s running in the task list (ctrl-alt-del) except for explorer and systray before installing"
Good idea, I''ll kill all background tasks
"And I hate to say it, but run a scandisk (full physical) and a virus scan. What you''re seeing is not a typical MSVC problem. I''ve use MSVC 6.0 for quite some time, and on at least 20 different machines between home and work--I''ve never seen this kind of a problem. "
Yes, that''s whats scares me. I always have those little bugs like "Can''t access the classview". But nothing was SO serious that I can''t continue working with the tool. I already ran scandisk, can be 100% sure that all my HDs are working as they should
"Try temporarily turning off any antivirus software you have. I had more strange problems and corrupted systems caused by antivirus software than all other causes combined."
Yes ! Good idea. I just trie to kill Northon AntiV, but I better think I really deinstall it and try...
"I have this problem too on a win2k machine.
but if you didn''t close the window in VC++, you can do a save again until it works. (Usually the second time works). If you closed the window, too bad!.. "
Oh my God ! That''s 100% the problem I have !!! If you save your work and get this message, the file has been killed by VC++. If you then save again, it''s there... We both try to find the solution, I''ll tell you when I found it!! Can you please post the software and so on you use, maybe we can find a similarity between our configs and see what the problem is ???
"Hello, I believe this error is caused by Norton Anti-Virus running in the background. If you have Auto-Protect enable that usually causes the problem. "
As I said, I''ll check this in depth !
Ok, thanx guys for your suggestions, I''ll try that !!!
Tim--------------------------glvelocity.gamedev.netwww.gamedev.net/hosted/glvelocity
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement