Multi-segment background application

palm

    Next

  • 1. Syn data/addr books between Palm III & Sony Clie
    I have a Sony Clie and a Palm III. Since they are different system files, it is not appropriate to just copy everything from Clie to Palm Desktop, and transfer all from Palm Desktop to Palm III. So I just want to syn the data book and address book. Anyone know if it is possible. If so, how. Antonio
  • 2. SMS Software?
    Hi, I have a T610 phone, and a NX73V palm, and want to use SMS. The built in PalmOs5 sms app is very unreliable (gives error "Incorrect response from phone" most of the time (works sometimes) even though I have the correct GSM driver for my phone (GPRS web access works fine...) Can anyone suggest a good third party SMS app which works over bluetooth? ideally it would support hi-res, and not be too expensive thanks g
  • 3. What is the m515's battery called??
    IIRC? I-Internet Relay Chat? I don't understand. Jim Anderson < XXXX@XXXXX.COM > wrote in message news:< XXXX@XXXXX.COM >... > Hi New, on 25 Aug 2003 13:57:28 -0700 you said... > > > I've searched faqs, their website all they say is. Lithium ion polymer > > battery. I highly doubt there is only ONE kind "Lithium ion polymer > > battery"! > > Most of them have an mAh rating or some kind of measurment or an IEEE > > standard! > > > > Does anyone know what it is called? > > > > Thanks, New > > > > IIRC, because of space limitations it is custom injection molded to fill > the available space.
  • 4. FS: Palm I705 MINT
    I have a Palm I705 for sale Mint condition In box will all accessories/instructions $130 firm (includes 2 day delivery) XXXX@XXXXX.COM
  • 5. problem editing To Do's in DB5
    Using an m125, OS 4.1. For the last 2 days I'm getting fatal errors sometimes when I go into a To Do -Details and try to add an alarm to the To Do. Message says "Close MemoDB:MemoDB not open" tap OK, and then "Most Recent Items List is Empty" tap OK them "Memory Mgr c, Line 4365, NULL handle-tap Reset which does nothing. Soft Reset gets me running again, but error happens each time I try to edit this To Do. I tried another To Do and same thing, when trying to go to Details and add an alarm. Any suggestions? ...Lisa

Multi-segment background application

Postby Gary » Sun, 02 Jul 2006 06:56:57 GMT

I have a background application, which has no UI whatsoever, that has
unfortunately grown beyond the 64K segment limit.  I need to figure out
some way to call code accross segments, without being launched with
sysAppLaunchCmdNormalLaunch.  Specifically, I need to find a way to
launch myself with globals, and not trigger any UI at all (i.e.
SysAppUISwitch is not an option).  I'm using Codewarrior 9.3, and
targetting PalmOS 5.4, specifically the Treo 650.

Here's what I understand:

- You cannot call anything out of your first segment on a no-globals
launch.
- The above is true, no matter what magic you use in Codewarrior (e.g.
expanded mode doesn't help).
- You cannot call yourself using SysAppLaunch and pass
sysAppLaunchFlagNewGlobals, as that will eat up an owner ID every time
you do it.

So, do I have any options at all here?  Is there any way to get my app
launched in a context where I can call other segments, short of
SysAppUISwitch?  Surely there is a way to do this.

Thanks,
Gary


Re: Multi-segment background application

Postby nevai » Sun, 02 Jul 2006 19:15:25 GMT

"Gary" < XXXX@XXXXX.COM > aszonygya:
:I have a background application, which has no UI whatsoever, that has
:unfortunately grown beyond the 64K segment limit.  I need to figure out
:
:So, do I have any options at all here?  Is there any way to get my app
:launched in a context where I can call other segments, short of
:SysAppUISwitch?  Surely there is a way to do this.

There are many options and all are essentially kludges but they work.  My
pToolSet's code is close to 1Mb now. It uses a bunch of different kludges but
they are all legitimate OS 5 approved unlike my LapTopHack which is a genuine
hack and patches dozens of OS functions. /PaulN

P.S. E.g., you could study the codes of some OS extensions and DAs.  A lots
of source code has been made public.

Re: Multi-segment background application

Postby Gary » Mon, 03 Jul 2006 08:28:03 GMT

Good, I'm glad it can be done.  I was beginning to get a bit worried.
Is there anything more specific you might be able to point me to?

Thanks,
Gary






Re: Multi-segment background application

Postby nevai » Mon, 03 Jul 2006 18:51:10 GMT

"Gary" < XXXX@XXXXX.COM > aszonygya:
:Good, I'm glad it can be done.  I was beginning to get a bit worried.
:Is there anything more specific you might be able to point me to?

Get the source code of some DAs and some DA launchers. Google them. They can
be used for OS extensions too. I also use a lots of SysAppLaunch()'s. They
are very fast in OS5.

/PaulN


Return to palm

 

Who is online

Users browsing this forum: No registered users and 42 guest