Thread: How to disable Windows error message?

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    1

    Question How to disable Windows error message?

    Is it possible to disable the Windows error message "The program has performed an illegal operation and will be closed by Windows" from the C code using #pragma statements and which?

    If no, is there a way to edit something in the WIndows register to make this error not appear?

    The reason I'm asking is that the Windows gives the error when user tries to close my C-application, so I don't want to see it.

    Cordially yours,
    Milis

  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    Don't you think a better solution would be to fix your program? The error comes up for a reason and there would be no way to disable it without disabling it for all programs (if that's even possible). If it could be disabled for one program that easily then that would be a big problem IMO, but it's Microsoft so you really never know.
    Last edited by itsme86; 09-21-2004 at 10:37 AM.
    If you understand what you're doing, you're not learning anything.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  2. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  3. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 04:44 AM
  4. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM