> From: Trent Hill [mailto:[EMAIL PROTECTED]]
> "Link Error: StartupCode.c: Entry Point '__InitCode__' is undefined."
> Now, if I make the static member an int, everything's fine. Is this a
> compiler/linker setting or is there a fundamental restriction 
> that I'm not aware of?

You are using the StartupCode.lib library, which is for C only.  It doesn't
know about C++ constructors.  You need to switch to "MSL Runtime Palm OS
(2i).lib" when using C++ (or at least when using those features of C++ which
require it, as in this case).  That will fix it.

-slj-


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to