Shawn,

Are you sure ScreenXHandleEvent is defined in the file you're calling it
in?  Is it in some other C file and you've maybe forgotten to include
its header?  Just trying to run through the list of things that would
cause this to happen.

DeAnna

-----Original Message-----
From: S Boedecker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 1:39 PM
To: Palm Developer Forum
Subject: problem setting event handler


Hi,

I'm using codewarrior 7 and am having a problem with a new event
handler.

The statement:  FrmSetEventHandler (frm, ScreenXHandleEvent);

returns this error:  Error   : undefined identifier 'ScreenXHandleEvent'
                                        smallfunc.c line 912
FrmSetEventHandler (frm, ScreenXHandleEvent);

I have defined the ScreenXHandleEvent function and it is compiling if I
comment out the line above.
One thing to note is if, on the line that is causing the compile error,
I
replace ScreenXHandleEvent
with another valid FormEventHandler that I'm already using for another
screen then it compiles.
Somehow the ScreenXHandleEvent function isn't registering as a valid
FormEventHandler callback.

Can anyone help with this?

Thanks,
Shawn





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

Reply via email to