Static qualifier in function names

2002-11-23 Thread Paul
I'm writing an application for the PalmOS and I notice all the sample code seems to use a "static" qualifier on all the function declarations. What is the reason for this? Do I need to do this for all functions, or is it for callback functions and the like? examples: static int StartApplicatio

Re: Waht's in New CW9?

2002-11-23 Thread Ben Combee
At 14:15 2002-11-23 -0800, you wrote: So, has CW9 shipped yet? I think I ordered the upgrade online about a week ago but I haven't received anything yet and my credit card haven't been charged yet either. Is there a ETA when it will be shipped. I'm hoping to get it before Christmas. We have g

How to Successfully Free Data from Gadget at Form Close?

2002-11-23 Thread DeVon Fowler
Unable to free allocated memory at form close time without getting an error message. Memory is allocated and attached to a gadget using SetGadgetData(fldId, data). Data is successfully accessed and used during form processing. Get different error if memory is not freed (systemmgr.c, Line:3986,

Re: Endian math?

2002-11-23 Thread Aaron Ardiri
> It doesn't really matter whether the number is +ve or -ve or floating > points numbers or integer numbers. If you're converting numbers > stored in big endian format (pre Palm OS5 devices) to little endian > format, you flip the bytes. little endian or big endian - numbers are still stored

Re: Endian math?

2002-11-23 Thread John Leung
It doesn't really matter whether the number is +ve or -ve or floating points numbers or integer numbers. If you're converting numbers stored in big endian format (pre Palm OS5 devices) to little endian format, you flip the bytes. One question though. For the new OS 5 devices that uses ARM

Re: Waht's in New CW9?

2002-11-23 Thread John Leung
So, has CW9 shipped yet? I think I ordered the upgrade online about a week ago but I haven't received anything yet and my credit card haven't been charged yet either. Is there a ETA when it will be shipped. I'm hoping to get it before Christmas. On 23 Nov 2002 at 14:33, Ben Combee wrote:

Adding a Spell-Checking Database?

2002-11-23 Thread Robert Purcell
Hi Everyone, I need some advice. I'm writing an application that will store a word list of 12,000 words that will be used for spell-checking the word that the user inputs (basically a look-up dictionary). I'm considering different ways of storing this word list in my application. Since this is

Re: List Weirdness

2002-11-23 Thread Steve Mann
I have no idea what you could be doing wrong. Does the same prc work on other devices? I haven't tried that because it's a Treo-specific application. Good suggestion though. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.pal

Re: Waht's in New CW9?

2002-11-23 Thread Ben Combee
At 19:37 2002-11-23 +0100, you wrote: Hi, I want to know if there is somme Library or visual component with the New version of CW9 ! Yes. CodeWarrior for Palm OS V9 ships with Object Library for Palm OS 4.0, an advanced C++ class library with lots of great capabilities -- see http://www.aq

Endian math?

2002-11-23 Thread Ralph Krausse
Can one flip a negative number from Windows to Palm? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Waht's in New CW9?

2002-11-23 Thread Zakaria OUSMAAL
Hi, I want to know if there is somme Library or visual component with the New version of CW9 ! M.Zakaria OUSMAAL [EMAIL PROTECTED] thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: List Weirdness

2002-11-23 Thread Oliver
> The point of the question, which I guess I > didn't explain too clearly, is that something > that normally works, [...] Yes, it is something that normally works, but since you explicitely mentioned the Treo 180 that I had sitting here on my desk, I figured I'd give it a quick try ;-) I have

Iteration through categories

2002-11-23 Thread Nikolaus Hueck
Hi, maybe this is too simple, but let me ask: How can I iterate through all *existing* categories of a database? I'd like to add code to my app that exports all records to memos, each category in one or more memos (depending on wether they exceed the 4k-limit of memos). So I need something like 1 F

Re: MemHandleResize problem

2002-11-23 Thread RaNo
Make sure you don't increase the size of a locked handle. -- Radoslaw Nowak, RNS:: www.ranosoft.com/palm -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

MemHandleResize problem

2002-11-23 Thread Rajasekhar Reddy P
Hai All i am adding items to listbox. First i am creating memory from MemHandleNew like ChoicesHandle = MemHandleNew(sizeof(char)); When i going to add item to, finding the size item and resizeing the memory with MemHandleResize this function, and adding all the items to listbox. It is wo

Re: OS 5, Adding icon to command bar for all apps

2002-11-23 Thread Denis Faivre
> Regardless of whether it is a good idea or not, I was wondering if > you have actually gotten this "leave the DB open" hack to work? Yes. > I tried implementing it and still no icon in the Command Bar. > > I verified that the DB exists, is a resource DB, is open, and > contains the Tbmp resourc

Re: Run My App at Power UP

2002-11-23 Thread Gavin Maxwell
Hi Mike, You can register for the late wakeup notification... this in OS 3.5 and above only though... Cheers, Gavin. Mike McCollister <[EMAIL PROTECTED]> wrote in message news:102315@palm-dev-forum... > > Does anyone know how to setup an application to execute at powerup? > > Thanks, > > Mike >

Clarification on drawing windows

2002-11-23 Thread Brad Figler
All, I have created a couple of custom UI objects using gadgets. However, I am doing something wrong when drawing them when the form needs to be updated. Here is the scenario. I have 3 forms A, B, C: Form A is the first form (think of it as the main form in the application). This