CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    4

    First-chance Exceptions

    Greetings:
    If I create a simple Dialog based application using AppWizard, using all default settings, compile and run it, I get four of these:

    First-chance exception in TestShell.exe (KERNEL32.DLL): 0xC0000005: Access Violation.

    I got a guy down the hall to create exactly the same program. He does NOT get these messages. I don't get them on my system at home either.

    I have browsed through MSDN and found that there is a reported problem with PropertySheet dialogs when calling DoModal(), but this is not a property sheet dialog. Its just a simple Dialog application generated entirely by the AppWizard.

    Does anybody know what this is all about?

    Thank You,
    Mark Roberts
    Toronto, Canada

    Soylent green is made out of people!

  2. #2
    Join Date
    Apr 1999
    Location
    Belo Horizonte, MG, Brasil
    Posts
    1

    Re: First-chance Exceptions

    Try:
    1) backup your project;
    2) delete the /debug dir;
    3) into Project Settings -> C/C++ -> Category: "Precompiled Headers", mark Automatic Use of Precompiled Headers > Through header: "stdafx.h".
    4) Go!

    Note: I'm using VC++ 4.0...


    ---
    [],
    Helio Nunes (labmidia)
    [email protected]

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