"daniel robinson" <[EMAIL PROTECTED]> wrote in message news:72860@palm-dev-forum... > > I've defined a class and everything compiles, but when I > > objPtr = new myObj; > > I get - 'operator new(unsigned long)' referenced from 'myProgram' is > undefined. > > I have included new.h in the include section. What do you have to do > to get it to work?
You need to link against the CodeWarrior runtime libraries, not StartupCode.lib. See the "Runtime Libraries" section of your Targeting Palm OS manual. If you're using the demo version, you don't have the libraries needed for C++ code. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
