I don't know if this is relevent, but while tracking down something else, I
noticed that the C++ stationary creates a project that links with a different
runtime library than the one created from the C stationary. The C++ library
includes PalmOS_Startup.cpp, not startup.c. So perhaps linking with that C++
library makes the difference.
-- Keith
Adam Wozniak <[EMAIL PROTECTED]> on 07/10/2000 04:37:21 PM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: Adam Wozniak <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/US/PALM)
Subject: C++ static initializers.
C++ / Code Warior
Where do the static initializers get called? In startup.c I see code commented
out:
//__InitCode__();
and I'm hunting a bug that's acting like a constructor for a static object isn't
being called as it should be.
I tried calling __InitCode__ in my stuff, but the linker can't find the
symbol...
--
Adam Wozniak Senior Software Design Engineer
Surveyor Corporation
[EMAIL PROTECTED] 4548 Broad Street
[EMAIL PROTECTED] San Luis Obispo, CA 93401
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/