Why isn't my code for lstSelectEvent being called?

2002-11-12 Thread Sean Rogers
In my Event Handling method, the code I've got for lstSelectEvent isn't being called. My code is as follows: switch (event->eType) { case lstSelectEvent: if (event->data.lstSelect.listID == theList) { // do what I want handled = true; } break; ca

What is a line error?

2002-10-29 Thread Sean Rogers
I'm trying to do some serial stuff with the Palm IIIxe. I open the serial port okay, then I set the flags okay, then I send a start character to my external device okay, but when I try to receive I get a serErrLineErr returned. What exactly is a line error? Might it come from my external dev

Re: Serial works on Emulator but not device - please help!

2002-10-24 Thread Sean Rogers
OTECTED], "Dave Lippincott" <[EMAIL PROTECTED]> wrote: Which device are you testing your code on? - Original Message - From: "Sean Rogers" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, October 18, 2002 12:20 AM

Serial works on Emulator but not device - please help!

2002-10-17 Thread Sean Rogers
I've reposted this again because absolutely no help is forthcoming. Please, anything you can suggest would be greatly appreciated: I've recently loaded my program onto the actual palm device and my serial communication code, which worked perfectly using the emulator and the pc's serial port, no

Serial works on Emulator but not device (repost)

2002-10-02 Thread Sean Rogers
I've recently loaded my program onto the actual palm device and my serial communication code, which worked perfectly using the emulator and the pc's serial port, now fails to work. The problem may lie in my parity settings. How does one set it to no parity? I assume you just leave out the srmSe

Fatal error when I exit my application (repost)

2002-09-29 Thread Sean Rogers
I've just put my application on the actual Palm (as opposed to the emulator) and when you tap the applications icon at the bottom it comes up with a Fatal Error that says: DataMgr.c, Line:7821, Index out of range And then it crashes before I can select the Reset button in the error dialog. Now

Serial works on Emulator but not device

2002-09-29 Thread Sean Rogers
I've recently loaded my program onto the actual palm device and my serial communication code, which worked perfectly using the emulator and the pc's serial port, now fails to work. The problem may lie in my parity settings. How does one set it to no parity? I assume you just leave out the sr

Parity

2002-09-25 Thread Sean Rogers
If I'm using SrmControl to set the Control Flags, how do I set it to no parity? I assume you just don't include srmSettingsFlagParityOnM and srmSettingsFlagParityEvenM when or-ing together the flags, but I can't find any documentation to confirm this. Thanks, Sean ___

Fatal error when I exit my application

2002-09-25 Thread Sean Rogers
I've just put m application on the actual Palm (as opposed to the emulator) and when you tap the applications icon at the bottom it comes up with a Fatal Error that says: DataMgr.c, Line:7821, Index out of range And then it crashes before I can select the Reset button in the error dialog. Now I

How do I get a text handle on a string?

2002-09-22 Thread Sean Rogers
My application has a dialog where you can change a numerical setting. When the dialog comes up, the current setting is displayed in an editable text field. The user can change this, then when they tap OK the value in the text field becomes the new setting. Now I don't really understand handl

double arithmetic

2002-09-10 Thread Sean Rogers
I'm not sure if this is a C problem or a Palm problem, but here it is: I'm using MathLib and doing some basic calculations using some double-precision floats. I'm working in Codewarrior and when I try to compile I get these errors: Link Error : Victory.c: '_d_itod' referenced from 'RecordData

Codewarrior Access Paths (still trying...)

2002-09-10 Thread Sean Rogers
Ben and Al, you've been very helpful, I believe I've done everything you've said, but I'm still doing something wrong. Sorry to trouble you again but I just can't work it out. This is what's in my Access Paths under "User Paths": [ticked] {Project} [ticked] {Compiler}MathLib\Src This is what's

Problem with including MathLib.h

2002-09-05 Thread Sean Rogers
I've got the latest copy of MathLib.h, and I'm trying to include it in my project. I'm using Codewarrior, with SDK 5.0. I've added MathLib.c to my project, but when I compile it says: Error : the file 'PalmOS.h' cannot be opened MathLib.c line 42 #include There's also 100 other errors rel

Re: Help with fundamental Serial Manager Problem

2002-09-05 Thread Sean Rogers
>You haven't updated your installation to a new version of the Palm OS >SDK >(you're using SDK 3.1 that came with CWPalmOS R6), so when you include >, you're getting the old serial manager which used >a "Ser" >prefix, instead of the new serial manager which uses a "Srm" prefix. Well I've downl

Help with fundamental Serial Manager Problem

2002-09-05 Thread Sean Rogers
I posted this message before, but it doesn't seem to have gone through. I'm using Codewarrior 4.0.1 and tring to do some simple serial communication. I've got: #include Then later on I've got: error = SrmOpen(serPortCradlePort, baud, &newPortIDP); But every time I compile it says: Error :

Problem with basic New Serial Manager Stuff

2002-09-04 Thread Sean Rogers
The answer to this problem is probably really basic, but I can't for the life of me get it working. I'm using CodeWarrior v 4.0.1 and trying to use the New Serial Manager. I have #include then in the code I have error = SrmOpen(serPortCradlePort, baud, &newPortIDP); but every time I try to

Re: Re: Simple database write then read

2002-08-28 Thread Sean Rogers
>>And here's my loading code: >> >>FieldPtr fld; >>FormPtr frm; >>Int itemIndex; >>CharPtr newTrackName = 0; >>VoidHand h; >>UInt index = 0; >> >>frm = FrmGetActiveForm(); >>itemIndex = FrmGetObjectIndex(frm, ShowTrackNameField); >>fld = FrmGetObjectPtr(frm, itemIndex); >>// get the handle to the

Trig functions

2002-08-27 Thread Sean Rogers
How do I do simple trig functions (like sine and cosine) in a program for the palm? Is there a library I just need to include? If so, what is it called? Thanks, Sean _ MSN Photos is the easiest way to share and print your photo

Simple database write then read

2002-08-27 Thread Sean Rogers
I'm having problems with my database usage. At the moment, I'm just trying to save a name entered by the user in a text field and display that saved name in a different form. I know databases aren't necessary for trivial things like this, but I'm starting out easy to get my head around databa

Help with basic serial communication

2002-08-27 Thread Sean Rogers
I've been struggling with this for a while, any help is greatly appreciated. I've got an external device that just sends some bytes in through the serial port. I've checked that information is actually coming through the serial port, so the external device is fine. I'm using Codewarrior, so I'

List selections

2002-08-20 Thread Sean Rogers
Hi How do you get an application to show an initial list selection in a popup trigger box? I know how to set the initial list selections but my popup triggers don't show what that initial selection is. Thanks, Sean _ Send and

Stopping events

2002-08-20 Thread Sean Rogers
Hi! I'm building a program that basically functions like this: you press a "Play" button with the stylus and a looping animation begins, then when you select "Pause" the animation stops. How can I use the pause button to break the loop? So far once I send the program into the loop it won't acc