At 02:19 PM 9/13/2002 +0800, you wrote:
>Hi.
>
>I'm new to CodeWarrior IDE. There are two forms (MainForm and
>SecondForm) and one header file (Starter.h). When doing the
>compilation:
>
>Link Error   : Starter.cpp: 'MainFormHandleEvent(EventType*)'
>referenced from 'AppHandleEvent(EventType*)' is undefined.
>
>Link Error   : Starter.cpp: 'SecondFormHandleEvent(EventType*)'
>referenced from 'AppHandleEvent(EventType*)' is undefined.
>
>
>In the Starter.cpp, it has been declared the particular header file,
>Starter.h.

My first guess would be that you've declared these as static.  See 
palmoswerks.com for information on static types, and their history in 
CodeWarrior (I don't have the story index right now, but its an early one).

Second guess would be that your MainForm and SecondForm source files are 
just .c files, so you're generating unmangled names in the C source, but 
trying to use them as mangled names from Starter.cpp.

-- 
Ben Combee
CodeWarrior for Palm OS Platform technical lead
[EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to