Hi you all,
I have a program that responds to the sysExternalConnectorAttachEvent
notification by popping up a form with an own event handler. The form pops
up just fine with the following code:
        LocalID idx;UInt16 cardno;
        FormPtr myform;
        SysCurAppDatabase(&cardno,&idx);
        DmOpenDatabase(cardno, idx, dmModeReadWrite);
        myform=FrmInitForm(SyncForm);
        FrmSetEventHandler(myform, HsFormHandleEvent);
        FrmDrawForm(myform);
        FrmSetActiveForm(myform);
However, in the moment that the form is on the screen, I get this fatal
alert:
Form68k.c, Line:1770, No form event handler
What is happening here? I already tried to force the resource database to
stay open(the DmOpen call), but it didn't help. Interestingly, the error
does not occur when my app is running when the notification comes in!
Thank you in advance for help!
Best regards
Tam Hanna


To unsubscribe send an email to  [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