Menu

#23 PalmOS3.0/3.1

open-wont-fix
nobody
None
2
2003-02-03
2003-01-31
Paul Holt
No

Pose under PalmOS 3.0 the application fails on startup
with the message:
FreeCoins (0.6.0) called SysFatalAlert with the message:
"Form.c, Line:3772, No event handler".

The physical device reports "Form.c, Line 3772, No
event handler"

Discussion

  • danny o'brien

    danny o'brien - 2003-01-31

    Logged In: YES
    user_id=354448

    Same here: I get "Form.c, Line: 3744, No event handler" on
    startup. I have a Visor Deluxe with PalmOS 3.01h

     
  • Vlad Mereuta

    Vlad Mereuta - 2003-01-31

    Logged In: YES
    user_id=58906

    Sorry guys, FreeCoins does not actually work on OS<3.5. It
    _used_ to work on 3.1 but it stopped. It never worked on 3.0
    as far as I'm aware.

    If any of you are willing to fix it you are very welcome to
    do so(I'll even give you a hand), but I do not plan to do it
    myself. Not in the close future anyway. I'd rather
    concentrate on bugfixing and developing a conduit.

     
  • Vlad Mereuta

    Vlad Mereuta - 2003-01-31
    • status: open --> open-wont-fix
     
  • Vlad Mereuta

    Vlad Mereuta - 2003-01-31
    • priority: 5 --> 2
     
  • danny o'brien

    danny o'brien - 2003-01-31

    Logged In: YES
    user_id=354448

    I'd love to help, if you have any pointers to the problem.
    The Deluxe runs 3.1, and I had no problem with the earlier
    stable version of FreeCoins

     
  • Vlad Mereuta

    Vlad Mereuta - 2003-02-03
    • labels: 347357 -->
    • assigned_to: dizzy --> nobody
    • summary: PalmOS3.0 --> PalmOS3.0/3.1
     
  • Vlad Mereuta

    Vlad Mereuta - 2003-02-04

    Logged In: YES
    user_id=58906

    I have been doing some investigation into running on PalmOS
    3.1/3.0. I don't thing freecoins will ever run on 3.0. There
    are way too many functions missing from in.

    I have no idea what the problem is on PalmOs3.1. Basically,
    FreeCoins has its own FormManager. Each time an event is
    intercepted (i.e. tap, form opening or closing, etc) the
    event is passed to the FormManager. All the Forms in
    freecoins are instances of the Form class which
    automatically registers them with the manager.

    The FormManager tries to dispatch the event to the right
    form. If it fails, then FreeCoins will try to use the PalmOS
    FrmDispatchEvent(...) function to dispatch the event to the
    right form. The problem arises when you try to dispatch an
    event to a form which is not registred with the FreeCoins
    form manager _or_ the PalmOS form manager. This is when you
    get the Form.c, Line:3772, No event handler" error (saying
    that you did not assignate a function to handle events for
    the form that you are trying to send an event to).

    Obviously, this should not happen - all forms should be
    registered with the FormManager. I have no idea why it
    doesn't work in 3.1. If anyone wants to look into this,
    check out ApplicationEventLoop in FreeCoins.cpp, and
    Form.cpp and FormManager.cpp. (api docs on the website may
    be useful)

    Note:
    The basic idea behind backporting is to find all the
    functions that are, say, supported in 3.5 but not supported
    in 3.1. They are listed in the PalmOS reference manual. If
    the program uses any of them (grep ;-) ) you need to
    re-write them as they are not going to be available on the
    old os.
    There is a second (trickier) part. This involves
    compensating for functions that behave differently (i.e. if
    palmos version == 3.1 then do some code compatible with 3.1.
    else code compatible with 3.5.... you get the idea).

    Hope this helps anyone interested

    Best regards
    diz

     
  • Sergey V. Udaltsov

    Logged In: YES
    user_id=681

    Please please make it Visor Deluxe compatible. It crashes on
    my Deluxe (3.01h) too:( FreeCoins 0.5 was perfectly OK. You
    tell "bugfixing" - but this IS a bug. Users do not need the
    conduit if the app itself crashes so bad...

     
  • Andreas Kotes

    Andreas Kotes - 2003-04-02

    Logged In: YES
    user_id=114798

    I'm willing to help, too, albeit I'm new to FreeCoins - can
    anybody pinpoint the exact change which broke support for
    PalmOS 3.1?

    Count

     
  • Chan Sai Tim

    Chan Sai Tim - 2003-07-18

    Logged In: YES
    user_id=825195

    When I enter this new version of FreeCoins after completing
    downloading, it gives a new error " Fatal Alert ". That's "
    Database.h, Line:104, Could not find record with given ID. "

     

Log in to post a comment.

MongoDB Logo MongoDB