Thread: Bug error

  1. #1
    Jasonc
    Guest

    Bug error

    I have coded a tab control using property sheets. After compiling and executing the program, I attempt to close the program. After closing the program, I always receive the error message "Debug Assertion Failed. File dlgprop.cpp. MFC42d.DLL error." Could someone please help me. Help is appreciated.
    Thanks,
    Jason

  2. #2
    Registered User
    Join Date
    Aug 2002
    Posts
    6
    This was the code that gave me that error


    ((CMainFrame*)GetParentFrame())->PostMessage(WM_CLOSE)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. An error is driving me nuts!
    By ulillillia in forum C Programming
    Replies: 5
    Last Post: 04-04-2009, 09:15 PM
  2. Avoiding Global variables
    By csonx_p in forum Windows Programming
    Replies: 32
    Last Post: 05-19-2008, 12:17 AM
  3. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 02:53 AM
  4. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  5. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM