after 1 days struggled finally get the solution as below:
---------------------------------------------------------------------------
Windows CE 3.0 and earlier (versions targetted by eVC 3.0) do not support
C++ SEH, so you cannot use try/catch (and thus specifying -GX wouldn't help
you). You can use C exception handling (try/except), however.
For Windows CE 4.0 and later (use eVC 4.0 for those targets), it depends on
the actual Windows CE configuration if C++ SEH is supported. If it is, you
can use try/catch, but you do have to manually add -GX to the compiler
command line. You do so by clicking the Project\Settings... menu item in
eVC, select the C/C++ tab, and then go into the edit box at the bottom of
that dialog where the command line is and adding "-GX".
---------------------------------------------------------------------------
Or you can view solution at:
http://www.tech-archive.net/Archive/...4-03/0372.html
Regards