cant add a new file to the project
I seem to be having problems with visual C++ 6.0. The problem is that i cannot add a new file to the project, everytime i try, the program just crashes and comes up with "Unhandled exception in MSDEV.EXE(DEVSHL.DLL) 0xC0000005 access violation"
what is going on here?
Re: cant add a new file to the project
Does it happen also after Windows restart?
I had once a similar problem: MSDEV crashed but some of its threads hadn't exited. So I had to open the Task Manager and terminate the msdev.exe from the "Processes" list.
Re: cant add a new file to the project
Just a blind shot in the dark, 90% sure has nothing to do with, but may not hurt trying: delete the ncb and opt files and reopen the project and try again.
Re: cant add a new file to the project
While you're at it, delete the aps and clw files too. clw in particular can cause some bizarre faults if it becomes corrupted. Only this morning I had a problem where I tried to open a particular workspace and I got a weird error saying that the workspace contained multiple occurrences of the same project (which it didn't). If I tried to continue, I got the error message "Out of Memory". It turned out to be a corrupted clw file. You can easily recreate the clw file by simply opening Class Wizard.
Re: cant add a new file to the project
Hello,
I think I am having the same problem but it always happen with every workspace I try to modify, or even before opening any! I tried the previous solutions but it did not work out.
The problem began after I did a forced termination of the Visual Studio C++ 6.0 after it freezed. Now every time I try to open or to add a file, an error massage appear saying that the program faced a problem and it will terminate. Giving three options weather to (or not to) send a report, or to debug. So if I choose the first two options, another error massage appears titled "Microsoft Visual C++: MSDEV.EXE - Application Error" and saying that "the instruction at 0x73d211a3 referenced memory at 0x00000004. the memory could not be read" and the VS shuts down. However, if I choose to debug, I get the following error "Unhandled exception in MSDEV.EXE(DEVSHL.DLL): 0xC0000005: Access Violation".
I am using Windows XP SP.3
Any ideas ?
Thanks
Re: cant add a new file to the project
Does it mean you already tried all suggested ways to "repair" but they all together could not help?
If it is the case - try to reinstall the Visual Studio C++ 6.0. :cool:
Re: cant add a new file to the project
yes and I tried to reinstall the VS but the problem still exist!
Re: cant add a new file to the project
Then try to uninstall it and remove its install folder, then install again
Re: cant add a new file to the project
I uninstalled it, deleted the folder and uninstalled all the programs that may cause conflicting problems. However, when I try to reinstall the VS, a message appear at the beginning of the installation wizard telling that the wizard has detected a potentially conflicting version of a Visual Studio 6.0 product on the machine. I reinstalled anyway but nothing is changed!
Re: cant add a new file to the project
Are all your projects on a NTFS formatted drive? If so, try creating a project on a FAT32 drive and see if that one works. It might be an issue with security permissions.
Re: cant add a new file to the project
Can you point me how to know the type of the drive?
Re: cant add a new file to the project
Right mouse click on the drive in Windows Explorer -> Properties -> tab "General"
Re: cant add a new file to the project
Installing Visual Studio 6 Service Pack 6 solves the problem. Just wanna note it down here as it's probably useful to anyone who encounters this problem.
Re: cant add a new file to the project
Thank you. If I ever need to install a 14 year old version of Visual C++, I'll keep this in mind. :)
Re: cant add a new file to the project
Quote:
Originally Posted by
namui
Installing Visual Studio 6 Service Pack 6 solves the problem. Just wanna note it down here as it's probably useful to anyone who encounters this problem.
Quote:
Originally Posted by
Arjay
Thank you. If I ever need to install a 14 year old version of Visual C++, I'll keep this in mind. :)
Then I'd strongly recommend you to first install SP5 and only after that - SP6! :D
Re: cant add a new file to the project
it's strange, but uninstalling MS Office solve trouble with open/add files...
This bug was corrected in Visual C++ 6.0 Service Pack 4 .
http://support.microsoft.com/kb/231655/en-us
Re: cant add a new file to the project
That did it for me. Thank you very much - it's much appreciated!