Thread: Programmin with the MFC

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    11

    Programmin with the MFC

    hey everyone, im programmin with the MFC, and i get no errors when i compile, but when i try to execute i cant because i get this error message saying "Debug Assertion Failed" and the file is winocc.cpp on line 301, i have no idea what that means, winocc.cpp isnt even a part of my program. ok, thanx hope someone can help.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    This should be on the Windows programming board....

    Debug you application.
    - hit F5
    - press "Retry" on the popup to debug your app
    - select view->debug windows->call stack

    In the call stack window, you'll be able to trace execution back into your code to see what caused the assertion.

    This will happen when you missuse the library/api.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM
  2. Release MFC Programs & Dynamic MFC DLL :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-18-2002, 06:42 PM
  3. Understanding The Future of MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-15-2002, 09:08 PM
  4. Beginning MFC (Prosise) Part III - Now What? :: C++
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 03-03-2002, 06:58 PM
  5. MFC is Challenging :: C++
    By kuphryn in forum C++ Programming
    Replies: 8
    Last Post: 02-05-2002, 01:33 AM