> I just changed the name of my entry point to the real name of the
function
> I'm patching and it works now !
> Thanks !

Ah ha.. the little things :)

> I still need to use a .cpp file, I'm doing C++ and it doesn't compile
if I
> deactivate the C++ compiler of course.

You do realize that the "activate C++ compiler" switch is really poorly
named.  It doesn't enable C++, it just forces .c files to be compiled as
C++.  Normally, the CodeWarrior compiler will treat other source files
as C++ by default.

> Well now I get another link error saying that "new operator referenced
from
> myPatch is undefined"

Define it.  You don't want to use "new" from the runtime library, as it
carries exception overhead, and those tables aren't setup.  However, if
you search the list archives for "operator new", you'll find a
good-enough version you can include in a header file.



-- 
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