"Gaurav Palvia" <[EMAIL PROTECTED]> wrote in message
news:62707@palm-dev-forum...
>
> That means that use of ANSI lib calls is not encouraged on Palm OS as
they
> increase the code size.
> Secondly we can use some header files as they only provide some macros
and
> type definitions.
>
> I ve one more doubt in that case whether we can use set_new_handler to
set
> the memory handler.
> I tried this in a test app by including <new> but it gives me compile
time
> error.So should i draw the onclusion that use of set_new_handler is
not
> encouraged for Palm OS

In CW for Palm OS 7, set_new_handler should work, as should the include
of <new>.  You will need to add a system access path to {Compiler}/MSL,
and you also need to call std::set_new_handler, since this is defined in
namespace std.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to