Re: Trouble with "continue" in try/catch block

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Yes, the execution will jump from the second throw into the catch block although it is outside the try block.

This is the command line as written by the compiler in the output window:

1>Microsoft (R) C/C++ Optimizing Compiler Version 15.00.20720 for ARM
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>cl /Od /D "_DEBUG" /D "_WIN32_WCE=0x502" /D "UNDER_CE" /D "WIN32_PLATFORM_PSPC" /D "WINCE" /D "DEBUG" /D "_CONSOLE" /D "ARM" /D "_ARM_" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /MTd /fp:fast /GR- /Fo"Windows Mobile 6 Professional SDK (ARMV4I)\Debug/" /Fd"Windows Mobile 6 Professional SDK (ARMV4I)\Debug/vc80.pdb" /W3 /c /Zi /TP
1> .\Experiment.cpp

No settings have been changed (except the startup banner) compared to the default settings after the project has been created.

Thanks

Hansjoerg

"Ulrich Eckhardt" <eckhardt@xxxxxxxxxxxxxx> schrieb im Newsbeitrag news:94gtv5-uif.ln1@xxxxxxxxxxxxxxxxxxxxxxxxx
hansjoergp wrote:
the following short program should crash (unhandled exception), but on WM5
and WM6 it will loop forever between the throw 2; and the catch block.

You really mean that it will loop between the 'throw 2' and the 'catch' even
though the former is outside the latter? In that case, this is definitely a
bug.

Just wondering, can you tell me what compiler version you are using and what
commandline arguments? Just turn on the option that it writes this to the
compile output window.

Thanks!

Uli

--
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932


.



Relevant Pages

  • Re: Command Line Compiler Config File
    ... specific settings in the dcc32.cfg file in the project folder. ... I just wanted to make sure that the command line compiler is not ... At one point, a.cfg file was also created by the IDE, ...
    (borland.public.delphi.non-technical)
  • Re: ev4 #defines
    ... There's a compiler option to turn off verbose output. ... C/C++ compiler settings for the project, ... I would like to verify the same command is being used to compile each ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Trouble with "continue" in try/catch block
    ... Seems to be a bug in the compiler/runtime indeed, thank you for reporting it and providing a simple repro. ... Microsoft Windows CE Compiler Team ... This is the command line as written by the compiler in the output window: ... No settings have been changed compared to the default settings after the project has been created. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Monitoring and Alerts
    ... settings network configuration, firewall configuration, and secure website ... Type the following command to re-register the WMI DLLs: ... |> Relay settings for Exchange SMTP Virtual Server: ... | we pursue the performance alerts issue further. ...
    (microsoft.public.windows.server.sbs)
  • Re: Antwort: Re: high paging and slow DB2-database. Please contro l my configur ation
    ... Updating environment settings for a partitioned DB2 ... installation ... parameters, enter the following command: ...
    (AIX-L)