Thread: Windows Error checking

  1. #1
    Registered User WebSnozz's Avatar
    Join Date
    Oct 2001
    Posts
    102

    Windows Error checking

    Was having hard time finding this but I know I've seen it before.

    It's a macro you can call a HRESULT function from and if it returns an error during program execution it gives you good debug information.

    I remember it being something like this

    CHECK_FOR_SUCCESS(functionCall(...));

    I remember having learned about it in a win32 api tutorial but I've forgoten it and can't rememebr what it was.
    WebSnozz-
    Cats have no butt cheeks.
    If one farted, then it would make a flute noise.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    You aren't thinking about the FAILED( ) macro are you? That is a generic check for failure macro.

  3. #3
    Registered User WebSnozz's Avatar
    Join Date
    Oct 2001
    Posts
    102
    I remember now, called the Verify() macro, but I think that's only for use with MFC??
    WebSnozz-
    Cats have no butt cheeks.
    If one farted, then it would make a flute noise.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:16 PM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM