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
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
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
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
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
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
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
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
___
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
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
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
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
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
>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
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 :
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
>>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
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
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
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'
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
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
22 matches
Mail list logo