CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Join Date
    Jan 2007
    Posts
    28

    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?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    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.
    Last edited by VictorN; March 19th, 2007 at 06:13 AM. Reason: MSDEV crashed, not MSDN! ;)

  3. #3
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    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.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  4. #4
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,835

    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.
    "A problem well stated is a problem half solved.” - Charles F. Kettering

  5. #5
    Join Date
    Apr 2011
    Location
    Strasbourg FRANCE
    Posts
    5

    Unhappy 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

  6. #6
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    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.
    Victor Nijegorodov

  7. #7
    Join Date
    Apr 2011
    Location
    Strasbourg FRANCE
    Posts
    5

    Re: cant add a new file to the project

    yes and I tried to reinstall the VS but the problem still exist!

  8. #8
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: cant add a new file to the project

    Then try to uninstall it and remove its install folder, then install again
    Victor Nijegorodov

  9. #9
    Join Date
    Apr 2011
    Location
    Strasbourg FRANCE
    Posts
    5

    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!

  10. #10
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,835

    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.
    "A problem well stated is a problem half solved.” - Charles F. Kettering

  11. #11
    Join Date
    Apr 2011
    Location
    Strasbourg FRANCE
    Posts
    5

    Re: cant add a new file to the project

    Can you point me how to know the type of the drive?

  12. #12
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: cant add a new file to the project

    Right mouse click on the drive in Windows Explorer -> Properties -> tab "General"
    Victor Nijegorodov

  13. #13
    Join Date
    Mar 2008
    Posts
    3

    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.

  14. #14
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    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.

  15. #15
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: cant add a new file to the project

    Quote Originally Posted by namui View Post
    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 View Post
    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!
    Victor Nijegorodov

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured