Re: try, throw, and catch Gets a Linker Error

From: Artist (artist_at_sj.speakeasy.net)
Date: 04/22/04


Date: Thu, 22 Apr 2004 15:05:25 -0700

Windows CE Version 4.000.0714.0

The target board is a WinSystems SAT-520PLUS:
http://sbc.winsystems.com/products/sbcs/sat520plus.html

It has an Advanced Micro Devices (AMD) SC520 micrprocessor. This is a 486DX5
CPU with internal floating-point unit (ANSI/IEEE 754 standard)

The fix seems to be for ARM microprocessors so it does not appear to help.
It looks like exceptions are not supported for my configuration. Is there a
way to verify this besides trying to compile code using them?

"Michael J. Salamone [eMVP]" <mikesa#at#entrek#dot#com> wrote in message
news:e1yF1IFKEHA.3704@TK2MSFTNGP11.phx.gbl...
> What version of CE are you targetting? And what configuration (Pocket PC,
> etc)
>
> CE didn't support C++ exceptions until 4.0. Also, not every configuration
> has it included.
>
> If the config is Pocket PC/Smartphone 2003, there is a bug in the SDK.
That
> is, the platform supports it, but the libs in the SDK don't allow you to
> build (you get link errors like you are seeing). You can get a fix from
> Microsoft. More info here:
> http://support.microsoft.com/default.aspx?scid=kb;[LN];830482.
>
> --
>
> Michael Salamone [eMVP]
> Entrek Software, Inc.
> www.entrek.com
>
>
>
> "Artist" <artist@sj.speakeasy.net> wrote in message
> news:24adnY_a_v9_7xrdRVn-vA@speakeasy.net...
> > This code, which was taken right out of the help file examples, is
causing
> > linker errors:
> >
> > char *buf;
> > try
> > {
> > buf = new char[512];
> > // if( buf == 0 ) // The addition of these two lines now
commented
> > out makes no difference
> > // throw "Memory allocation failure!";
> > }
> > catch( char * str )
> > {
> >
> > }
> >
> > The error:
> >
> > CommOperations.obj : error LNK2001: unresolved external symbol "const
> > type_info::`vftable'" (??_7type_info@@6B@)
> > X86Dbg/CommOperations.exe : fatal error LNK1120: 1 unresolved externals
> >
> > The GX compiler option is in effect. What is wrong here?
> >
> >
>

****
If you wish to respond directly delete the sj. from the domain name of my
email address. This is a spam jammer.



Relevant Pages

  • Re: error "respawning too fast" on Toshiba Protege 7200
    ... > 1) How do you stop linux from booting into the GUI and go into Command Line mode? ... > 2) How do I searchout this error and fix it? ... Next we need to try to correct the X configuration. ... Next we probably want to investigate what video card you have and you ...
    (Fedora)
  • Re: Trace Files and Alert Logs Filling Up Hard Drive
    ... db_unique_name = gisx ... Also run dgmgrl from the shell and connect as your system user. ... should get an error, if you don't, show configuration. ... be sure and get after support to fix it - I'm ...
    (comp.databases.oracle.server)
  • Re: FC5: opengl screensavers on Dell inspiron 710m (intel 82852/855GM)
    ... I have an Dell Inspiron 710m with this configuration ... 00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device ... I installed 855resolution with the hope to fix this, ... but installing 855res.. ...
    (Fedora)
  • Re: Followup: Native win32 apps still require .NET runtime?
    ... Reinstalling the ... >> application may fix this problem." ... because the application configuration is incorrect. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Debuging
    ... > What do I need to do to fix this problem? ... "Release" configuration, no debug symbols are created. ... configuration when compiling the release version of a product. ...
    (microsoft.public.dotnet.languages.vb)