CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2002
    Posts
    8

    Question VC++ 6 hangs while saving file

    Hi Gurus,

    I have a problem I can reproduce, but I have no clue...

    After adding arbitrary (working or not working) code to my source-file, I cannot save it anymore as VC++ gets stuck - nothing to do...

    When I restart VC and load my workspace saved at a point short before crash, I can save things again...

    Just while writing this, i tried to add the following:

    test; //save->works
    test1; //save->works
    test2; //save->works
    test.a; //save->stuck

    So the problem rises when adding arbitrary code with the "."-operator (as "test", "test1", etc. doesnt mean anything in my code and it really does no difference to the problem even if it is declared )

    PLEASE can you help me?
    Perhaps is there a restriction, how many projects maybe in a workspace with a restriction of total objects/code/whatever ?
    I have put 22 Projects in one Workspace... each using an increasing number of files... could this be a problem?
    The projects are Win32-console and Win32-lib projects...

    Thanks
    Holger
    Last edited by Holger Stein; February 13th, 2003 at 12:07 PM.

  2. #2
    Join Date
    Aug 2002
    Posts
    8
    I transferred parts of my files/projects to a newly created workspace and all works fine now... I think there's a limitation, but I want to know what it is...

    Any idea?

    Holger

  3. #3
    Join Date
    Jun 2007
    Posts
    25

    Re: VC++ 6 hangs while saving file

    I had the same problem. Thank goodness that I stumbled onto this post. I too could randomly not save files - it would just lock up. And sometimes I couldn't open a file either. The cursor would just change to an hourglass and it would sit there - forever. I tried the suggestion above and it worked!

  4. #4
    Join Date
    Aug 2002
    Posts
    8

    Re: VC++ 6 hangs while saving file

    Hello darkwings,

    i'm glad that - even after 5 years! - someone found my post and answered to it ;-) . Even better i find the situation that my noob-knowledge has helped you with your coding.

    best regards - and may it help others too in a further 5 years ;-)))

    Holger

  5. #5
    Join Date
    Jan 2010
    Posts
    1

    Re: VC++ 6 hangs while saving file

    Try this : Close all projects and delete *.opt & *.ncb.
    Open project and save. It worked fine.

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