found it
If I clicked save button before I entered data
this
size = StrLen(name)+1+ StrLen(level)+1+ StrLen(expFld)+1+ StrLen(desc)+1+
StrLen(mItems)+1+ StrLen(startz)+1+ StrLen(heritage)+1+ StrLen(citytask)+1+
StrLen(sabatoge)+1+ StrLen(repet)+1+ StrLen(access)+1+ StrLen(freeport)+1+
St
I agree. If you are interested in doing console programming with
C/C++ using the Eclipse IDE, it looks like
http://www.eclipse.org/downloads/index.php contains plugins to do so.
You probably need to download the full version of Eclipse rather than
using the one that ships with the PalmOS Develope
On 7/23/05, will rogers <[EMAIL PROTECTED]> wrote:
>
> Hi Layne,
>
> Since no one else seems to be helping out I'll give you my two cents.
>
> >
> >1) My first question is that at the moment, I am using a temporary
> >Field to display text for debugging purposes.
>
> Jürgen Wind's suggestion ab
On 7/23/05, Jürgen Wind <[EMAIL PROTECTED]> wrote:
> Hi Layne,
>
> Layne Lund schrieb:
> > I posted the following message to the mailing list over a week ago,
> > but have not received any responses yet. I am particularly interested
> > in what anyone has to say about question #2. I look forward
From: "druid" <[EMAIL PROTECTED]>
> I tried you code change and it does work
> Now for the wierd thing
>
> I added this
>
>StrCopy(text, "UNKNOWN");
> }
> now if I dont fill in any of the fields and it writes this to
> the record, the very first field has the first three characters
> cut of
From: "druid" <[EMAIL PROTECTED]>
> The problem is I need to know what is in fldName before I try
> and use GetFieldData and if the contents or the field is NULL
> not do the call to the GetFieldData routine
>
Nope, I think you're doing the right thing bu checking for NULL
data within the functi
From: "Jonathan King" <[EMAIL PROTECTED]>
> Here is a simple way to do what you are doing.
>
> static void GetFieldData( UInt16 fld, Char *text )
> {
> FormPtr frm = FrmGetActiveForm();
> FieldPtrfldP = FrmGetObjectPtr(frm,
> FrmGetObjectIndex(frm,fld));
>
> if(FldGetTextLegnth(fldP))>
whic
I tried you code change and it does work
Now for the wierd thing
I added this
static void GetFieldData( UInt16 fld, Char *text )
{
FormPtr frm = FrmGetActiveForm();
FieldPtr fldP = FrmGetObjectPtr(frm, FrmGetObjectIndex(frm,fld));
if(FldGetTextLength(fldP))
{
StrCopy(text, FldGetTextPtr(f
set the copy protect bit in the application.
that'll work for at least 2 seconds.
On Wed, 20 Jul 2005 19:18:54 -0600, Dustin Litchfield
<[EMAIL PROTECTED]> wrote:
I am trying to figure out how to copy protect my application so it can't
be beamed from one handheld to another. I have figured
Hello,
could anybody explain the role of readonly attribute for the LifeDrive
databases? Looks like the DBs that were marked originally with this attr are
pre-installed in RAM after hard reset. Relying on this attribute seems to be
risky as there are applications using it for different purposes.
Resco Locker is out on our web. We did not add the sources mainly because
there is nothing to learn from them. (Plus we would have to pay more
attention concerning what can be published.)
Looks like it helps for some instable apps (e.g. OKey, TextPlus, ClipPro),
for the others not. (Fonts4OS5 part
Here is a simple way to do what you are doing.
static void GetFieldData( UInt16 fld, Char *text )
{
FormPtr frm = FrmGetActiveForm();
FieldPtrfldP = FrmGetObjectPtr(frm,
FrmGetObjectIndex(frm,fld));
if(FldGetTextLegnth(fldP))
{
StrCo
Keep in mind that closing and opening the database take time - and
performance is important on a Palm.
Personally, I keep most of my databases open all the time - unless it's one
that only gets used occasionally.
Sometimes globals are appropriate for an app.
--
-
since fldName is a non database assigned field
this means its NULL i think
So I need to check it for that before I use the GetFieldData
the name length is set to 255 when its declared so passing the
nameLen would always be 256
and it is NULL because nothing has been assigned
Char name[256];
The pr
Also that means that I will need to check the strlen of the field
before I pass the info, because were getting a field
then putting it into Char name[256];
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
First im concerned that the field is not NULL, in other words
when the form is opened, the field exists with nothing in it.
If I have if figured correctly that is NULL
if all contents are removed from the field that means the fields
contents are NULL
Im concerned that both situations are handled
--
Thanks for the link. I tried adapting that code to my situation and I still
get a quick return from SndStreamCreate. The simulator doesn't pass the
call through to my PC microphone but it's nice to dream. However, on my T|C
with an attached mic, it also doesn't work. This has to work somehow...
Subject: Re: Using Palm databases
From: Layne Lund <[EMAIL PROTECTED]>
Date: Fri, 22 Jul 2005 15:36:18 -0700
I posted the following message to the mailing list over a week ago,
but have not received any responses yet.
Sometimes you just aren't going to get a response, and your original post
Marianella Diaz schrieb:
> Hi guys,
>
> I've a Pop-up list with the incremental search attribute set with
> LstGlueSetIncrementalSearch, but it don't works... it crash... :(
>
> I'm using in my list LstSetListChoices(lstP, NULL, 24);
>
> Can I do this? :(
>
How should this work ?
If you use L
Hi Layne,
Layne Lund schrieb:
> I posted the following message to the mailing list over a week ago,
> but have not received any responses yet. I am particularly interested
> in what anyone has to say about question #2. I look forward to any
> responses anyone has.
>
> Thank you,
>
> Layne
>
>
In article news:[EMAIL PROTECTED], Larry Johnson wrote:
I have a scenario where my client would rather have a cheap, fullsize
PC/AT keyboard; rather than the wireless fold-up.
Do you know of any converter cable/box and palm software to allow a
Zire31, for example, to be physically connected and
how to realize the UI like Textplus(http://www.smartcell.com/id20.htm)
how to program to show dynamic pop-up list or table like Textplus
Thank you!
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
22 matches
Mail list logo