"Horace Ho" <[EMAIL PROTECTED]> wrote in message
news:38394@palm-dev-forum...
>
> Link Error : main.c: '__wswtch__' referenced from 'MyFormDoCommand' is
> undefined.
>
> Build of target "My Proj" in project "MyTest.mcp" failed because a
subtarget
> or subproject build failed
>
> Any clue about the link error? It pops up when I try to add one more case
> block to the form menu handling routine.
It is a helper function needed by the CW compiler when switch statements
become too large.
To get it, be sure you're linking with Startup.lib or CW PalmOS Runtime
(2i).lib. Both of these runtime libraries provide this function.
--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/