Thread: string operation and related exception

  1. #61
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I tried my own int 3 code.
    With your code, it catches the exception if not run inside debugger.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  2. #62
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Hi Elysia,


    Sorry I have more made myself understood. I mean in my environment, the exception handler code inside __except is executed. But the JIT debugger -- select debugger dialog -- is not displayed.

    The dialog displayed in your environment?

    Quote Originally Posted by Elysia View Post
    I tried my own int 3 code.
    With your code, it catches the exception if not run inside debugger.

    regards,
    George

  3. #63
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by George2 View Post
    Sorry I have more made myself understood. I mean in my environment, the exception handler code inside __except is executed. But the JIT debugger -- select debugger dialog -- is not displayed.

    The dialog displayed in your environment?
    No, it is never displayed because the __except catches the exception and executes the code inside that block.
    Remove the __except and you'll get the dialog.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #64
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Thanks Elysia,


    I feel we are off-topic for the original topic. However, it is always good to communicate and learn from you.

    I have started a new thread and make the question more clear including the quoted MSDN resources. It is appreciated if you and others could continue discussion there. :-)

    http://cboard.cprogramming.com/showt...058#post725058


    Quote Originally Posted by Elysia View Post
    No, it is never displayed because the __except catches the exception and executes the code inside that block.
    Remove the __except and you'll get the dialog.

    regards,
    George

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  2. Looking for examples for string related programs
    By koloth in forum C Programming
    Replies: 5
    Last Post: 04-14-2003, 11:57 PM