Yes, if you're making a C++ app then you need the C++ runtime, which is different than 
the C runtime:

C --> StartupCode.lib
C/C++ --> MSLRuntime[2|4]i.lib

The 2/4 is for 2 --OR-- 4 byte integers; you should include the one that matches your 
project settings. You should be able to find this file somewhere in the SDK.

Enjoy,

Alan Pinstein
Synergy Solutions, Inc.
http://www.synsolutions.com
1-800-210-5293
a BarPoint.com Company


>Hello,
>
>I have a 'C' program and want to convert it to C++. I am using the regular C
>project file in Metrowerks and under the project settings, I have selected
>"activate C++ compiler".
>
>At this point, am I able to start writing classes and using objects in the
>code? Or will I have to start with a Metrowerks C++ project template and
>make my code changes?
>
>I am currently getting the following error:
>Link Error: __RuntimeModule__ : Entry Point '__InitCode__' is undefined
>
>Any help would be appreciated,
>
>Raymond
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palm.com/devzone/mailinglists.html


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

Reply via email to