using a
2.0 rom it gives me an error stating that PalmOS routine #A2AB
(IntlDispatch) does not exist in this version of the PalmOS.
I am using SDK 3.5 and thought that it would be OK for OS 2.0 and higher.
Any help/info is appreciated.
Thanks,
Andy
--
Andy Black
[EMAIL PROTECTED]
Unix is user
ample code. I also got the book "Palm Programming: The Developer's
Guide" by Neil Rhodes and Julie McKeehan. O'Reilly & Assoc. Inc. 1999. I
think it is a pretty good book and helped me quite a bit.
Hope this helps,
Andy
--
Andy Black
[EMAIL PROTECTED]
Unix is user fr
Hello All,
I am working on a program and I want to have the user be able to enter
numbers into an editable text field using an onscreen keyboard or using
graffiti. The graffiti part works just fine but I cann't get my keyboard to
work. Code is as follows:
//from mainfrom event loop
Thanks for the replies! I like your way of handling it much better. Never
thought of doing it that way.
Thanks again,
Andy
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
to handle these (chrDelete,
etc...) differently than the rest of the keycodes?
Thanks,
Andy
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.
es on MathLib. How
do I get MathLib to compile into the simulator app?
Thanks,
Andy
--
Andy Black
[EMAIL PROTECTED] http://www.SpazTheCat.com
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the Palm Developer Forums, or to unsubs
t; do I get MathLib to compile into the simulator app?
>
> Have you checked whether MathLib is built in to the ROM you are testing?
>
>
>
--
Andy Black
[EMAIL PROTECTED] http://www.SpazTheCat.com
Unix is user friendly. It is just picky about who its friends are.
--
F
Hello All,
Has something broken with the PalmOS Glue functions in the 4.0 SDK? I am
using the TxtGlueCharIsDigit macro and I am getting the following error in
CodeWarrior:
Error : undefined identifier '_DI'
IVRateCalc.c line 398 ((TxtGlueCharAttr(strP [srcP]) & _DI) != 0)
Well, I replaced t
Hello,
Part of my problem is fixed (thank you Ben), but I am still getting a
linking error from TxtGlueCharIsDigit. Error as follows:
Link Error : Spaz:Users:andy:Documents:IVRate Calc:Src:IVRateCalc.c:
'TxtGlueCharAttr' referenced from 'StringToDouble' is undefined.
I have included the CharA
Doooh! That would help wouldn't it. Totally forgot about that.
Thanks
In article <54806@palm-dev-forum>, "Scott Johnson (Bellevue)"
<[EMAIL PROTECTED]> wrote:
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Link Error : Spaz:Users:andy:Documents:IVRate Calc:Src:IVRateCalc.c:
> > '
Hello All,
I have a little problem with a program I am writing. Any menu selection I
make from my drop down menu remains highlighted once it is selected. So,
the next time you drop that menu down, that item is highlighted. I had
this problem before and I can't for the life of me remember how I fi
Thanks for the reply. I guess I never really noticed that behavior in
other programs before. I thought it was just my bad code or something. It
was driving me nuts.
Thanks!
In article <55372@palm-dev-forum>, "Scott Johnson (Bellevue)"
<[EMAIL PROTECTED]> wrote:
> > From: [EMAIL PROTECTED] [mail
Hello again,
I am trying to add an event to the event queue (I decided it was easier to
do than rewrite the code in that part of my main form's event loop) and I
keep getting an erro is POSE that my program is trying to access low
memory. Is there a better way to add events? Code as follows:
Ev
The original poster hit the nail on the head. I set the pControl value and
it works just fine now.
Thanks! Greatly appreciated!
Andy
In article <55437@palm-dev-forum>, Aaron Ardiri <[EMAIL PROTECTED]> wrote:
> > > EventType myEvent;
> > >
> > > MemSet (&myEvent, sizeof(EventType)
Hello All,
I must be having a dumba@! attack this week but I just can't get this code
to work. I keep getting a "Bad DBRef" error from debug roms in POSE. What
the heck am I missing here??
TIA,
Andy
Code as follows:
static DmOpenRef gDataBase;
#define kDBName "Drugs-IVRT"
#
>>
>
> If InitDrugs is defined in another file then the statically scoped variable
> will be invisible. Static variables/procedures are only visible in their own
> files.
>
> Peter
>
It is defined in the same source code file. But that is not where it is
failing. I can't get the database to
Hello All,
I was moving from CodeWarrior to PRC tools and was wondering what people
were doing to visually layout their programs. I don't mind writing the
resource files but it takes me forever to get the interface the way I want
it. It would be nice if there was something out there similar to
C
Thanks for the reply. I mean laying out forms. I know I rambled a bit in my
original post.
I'm going from CW for the MacOS to PRC tools for MacOS X.
Andy
in article 61000@palm-dev-forum, David A. Desrosiers at
[EMAIL PROTECTED] wrote on 8/27/01 7:13 PM:
>
>
>> I was moving from CodeWarrior t
Hello All,
I am having a little problem that I just can't figure out. I have a
program that pulls some values from several text fields and then does some
calculations. One calculation is converting pounds to kilograms. I perform
this conversion with the following code:
double weight; //the value
ew record. PackDrug resizes recordHdl as needed
then writes everything to the database.
PackDrug (&drug, recordHdl);
DmReleaseRecord(gDataBase, index, true);
}
}
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.
--
F
to Bookmark.
>
>
>
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
abase (gDataBase) then I
call FrmCloseAllForms (). Am I doing this all wrong? Oh, another strange
thing about it is, this only happens in POSE with the 2.0 ROM. The 3.5 ROM
doesn't give me this error.
Any thoughts?
Thanks,
Andy
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is
Thanks!
in article 18911@palm-dev-forum, Brian Mathis at [EMAIL PROTECTED]
wrote on 7/27/00 4:58 AM:
>
> Andy Black wrote:
>> Hello All,
>> I have a strange/annoying little problem. When I install my app and run it,
>> it creates a data base. However, whenever I exit m
MemHandleUnlock (recordHdl);
if (foundIt)
{
break;
}
}
return recordNum;
}
Any help/input is greatly appreciated.
Thanks,
Andy
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.
--
Fo
Hello,
I am using the CW Pro for Macintosh with PalmOS Development kit 3.5. Can I
use POSE with CW Pro for debugging? I can't seem to get CW to make a
connection to POSE.
Any tips are apprectiated.
TIA,
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about wh
, New
> Style
>
> Select Launch Emulator from the Palm menu. POSE should launch. Tap
> the Compile/Link/Debug button on the project window (the one with the
> right arrow). Your project should compile, link, download, and start.
>
> Regards,
> Steve Mann
--
Andy Black
[EMA
y);
>
> What if recordHdl is NULL?
>
> packedDrug = MemHandleLock (recordHdl);
>
> What if packedDrug is NULL?
>
> Hope that helps point you in the right direction.
>
> Regards,
> Steve Mann
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
ights. It will only become un-highlighted when I select
another item in the Options Menu. Any thoughts?
Thanks!
Andy
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the Palm Developer Forums, or to uns
1 maybe 2 function
calls.
Thanks,
Andy
-
Andy Blackhttp://www.SpazTheCat.com
25A5 DB07 3C9E B77E F3D4 205B 3E12 DD2E
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
ECTED] wrote on 9/25/00 8:37 AM:
>
> write you own function !
>
>> -Original Message-
>> From: Andy Black [SMTP:[EMAIL PROTECTED]]
>> Sent: 25 September 2000 13:26
>> To: Palm Developer Forum
>> Subject: Higher math functions
>>
>> Hello a
ld (a null pointer) I
want it to just continue on as if nothing every happened. But I can't find a
function to make it just continue on its merry way. How do you handle a case
like this?
Thanks!
Andy
--
Andy Black
[EMAIL PROTECTED] http://www.SpazTheCat.com
Unix is user frien
eciated.
TIA,
Andy
--
Andy Black
[EMAIL PROTECTED] http://www.SpazTheCat.com
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Does is make a difference if database.stringP is declared const Char*??
Thanks,
Andy
in article 27664@palm-dev-forum, Chris Tutty at
[EMAIL PROTECTED] wrote on 10/21/00 11:23 AM:
>
> "Andy Black" <[EMAIL PROTECTED]> wrote
>> I am having some problems getting te
ant it.. you do something
> like this:
>
> ...
>
> Char *p = (Char *)MemHandleLock(handle);
> ... use p
> MemPtrUnlock(p);
> ...
>
> the "handle" is what you should have stored somewhere. lock and unlock
> it as you use it - then you wont have any problems.
&g
my
program also. What does everyone think? Is it worth worrying about OS 2.0
compatability??
Thanks,
Andy
--
Andy Black
[EMAIL PROTECTED] http://www.SpazTheCat.com
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the Palm
Hello All,
I have a program that obtains numerical data from editable text fields and
then does some calculations on them. If the fields are empty and I press
"OK" to get the data from the form and then process it, I get the following
error: "RxKinetics 1.0 has just read directly from memory mana
er is not enough to
> guarantee success. You have to check to make sure the length of the
> text is > 0 before calling StrCopy. At least that's solved the
> problem for me.
>
> It might be different if you start with FldGetTextHandle and then
> lock it to get the pointer
Hello,
I have several static lists (defined in Constructor) and they are long
enough that they go off of the screen. However, there are no scroll arrows
being drawn in the top or bottom of the list. I thought the system handled
these for you automagically? Do I need to handle drawing and implemen
I have my "visible" items in Constructor set to zero. Is that what you are
talking about?
On 4/10/02 10:17 PM, in article 83464@palm-dev-forum, "Matt Disher (TiBook)"
<[EMAIL PROTECTED]> wrote:
>
> Just don't show as many items...
>
> If you have a list of 70 items but only have '5' visible th
On 4/11/02 12:49 AM, in article 83472@palm-dev-forum, "Steve Mann"
<[EMAIL PROTECTED]> wrote:
>
>> I thought the system handled
>> these for you automagically? Do I need to handle drawing and implementing
>> those little scroll arrows?
>
> The system should. Are you defining the lists just usi
On 4/11/02 9:28 AM, in article 83494@palm-dev-forum, "Joe"
<[EMAIL PROTECTED]> wrote:
>
> --- Andy Black <[EMAIL PROTECTED]> wrote:
>> I have my "visible" items in Constructor set to zero. Is
>> that what you are talking about?
>
> Try se
Hi All,
I had a quick question. I want to write a program that does lookups against
a rather large table. I need to find the value of the intersection of two
items in the table. The data in the table will not be user editable but I
will be updating it from time to time myself. Anyways, what's the
Hi,
Are there any documented APIs for accessing the PalmOne WiFi card? Not
the stuff in NetLib. But actual hardware access for things like putting
the card into promiscuous mode, etc...
Thanks,
Andy
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://
Hi,
I have kind of a basic C question I guess. I have the following function:
static Boolean PreferencesFormHandleEvent(EventPtr eventP)
{
Boolean handled = false;
FormPtr frmP;
ControlPtr controlP;
ListPtr listP;
double dose;
Chartext
Nope, they will be in scope for the function you see only.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
The way I have it should be fine in CW. At least, that is how I have all my
other Char's and double's defined.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
Hi,
I have a modal form that has a drop-down list on it and I am having some
difficulty with it. The list is static and is defined in the resource in
constructor (25 items). The problem is when I select the list, it expands but
the scroll arrows are not automatically created at the bottom of th
Yeah,
Set to zero. I don't want any items to display initially.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
Hi All,
I am starting to write a program and the database will be very large. 3-4 Mb
when it is finished. First, can I take my data from Exel and make a .pdb
file out of it? Second, most of what the program will do is lookup the value
at the intersection of a value along the horizontal axis with
Hi,
I'm learning how to use tables in my applications and am having a little
problem. Every row that does not contain an entry from my program's database
contains a checkbox. I don't have any checkboxes in the table.
Is there some initialization I need to be doing to ensure those rows without
dat
Hi,
I have a structure that looks like this:
typedef CE
{
UInt32 seconds;
Char title[40];
Char code[20]
Char credits[5];
Char note[200];
} CE;
I want to "pack" my Char's into one long string. How do I handle the UInt32
in the packing function
Hi,
In my program I have a table that I want to draw a note icon in a column if
the record from my database has a note entry. However, every entry is drawing
the note icon. From what I can tell my code should work.
after I unpack the packedCE record into a ceRecord I have the following code:
Thanks for the reply.
I thought about for a while more last night and then it finally dawned on
me. There are some things with C I still just don't get immediately.
Andy
On 1/23/03 4:23, in article 110224@palm-dev-forum, "Sean Charles"
<[EMAIL PROTECTED]> wrote:
>
>>
>> if (ceRecord.note != N
not enough to
> guarantee success. You have to check to make sure the length of the
> text is > 0 before calling StrCopy. At least that's solved the
> problem for me.
>
> It might be different if you start with FldGetTextHandle and then
> lock it to get the pointer, but i
Hello All,
I have a program that obtains numerical data from editable text fields and
then does some calculations on them. If the fields are empty and I press
"OK" to get the data from the form and then process it, I get the following
error: "RxKinetics 1.0 has just read directly from memory manag
my
program also. What does everyone think? Is it worth worrying about OS 2.0
compatability??
Thanks,
Andy
--
Andy Black
[EMAIL PROTECTED] http://www.SpazTheCat.com
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the ACCESS
. you do something
> like this:
>
> ...
>
> Char *p = (Char *)MemHandleLock(handle);
> ... use p
> MemPtrUnlock(p);
> ...
>
> the "handle" is what you should have stored somewhere. lock and unlock
> it as you use it - then you wont have any problems.
>
Does is make a difference if database.stringP is declared const Char*??
Thanks,
Andy
in article [EMAIL PROTECTED], Chris Tutty at
[EMAIL PROTECTED] wrote on 10/21/00 11:23 AM:
>
> "Andy Black" <[EMAIL PROTECTED]> wrote
>> I am having some problems getting text fro
eciated.
TIA,
Andy
--
Andy Black
[EMAIL PROTECTED] http://www.SpazTheCat.com
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
wrote on 9/25/00 8:37 AM:
>
> write you own function !
>
>> -Original Message-
>> From: Andy Black [SMTP:[EMAIL PROTECTED]
>> Sent: 25 September 2000 13:26
>> To: Palm Developer Forum
>> Subject: Higher math functions
>>
>> Hello all,
maybe 2 function
calls.
Thanks,
Andy
-
Andy Blackhttp://www.SpazTheCat.com
25A5 DB07 3C9E B77E F3D4 205B 3E12 DD2E
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
ts. It will only become un-highlighted when I select
another item in the Options Menu. Any thoughts?
Thanks!
Andy
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, ple
null pointer) I
want it to just continue on as if nothing every happened. But I can't find a
function to make it just continue on its merry way. How do you handle a case
like this?
Thanks!
Andy
--
Andy Black
[EMAIL PROTECTED] http://www.SpazTheCat.com
Unix is user frien
t;
> What if recordHdl is NULL?
>
> packedDrug = MemHandleLock (recordHdl);
>
> What if packedDrug is NULL?
>
> Hope that helps point you in the right direction.
>
> Regards,
> Steve Mann
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
> Style
>
> Select Launch Emulator from the Palm menu. POSE should launch. Tap
> the Compile/Link/Debug button on the project window (the one with the
> right arrow). Your project should compile, link, download, and start.
>
> Regards,
> Steve Mann
--
Andy Black
[EMA
Hello,
I am using the CW Pro for Macintosh with PalmOS Development kit 3.5. Can I
use POSE with CW Pro for debugging? I can't seem to get CW to make a
connection to POSE.
Any tips are apprectiated.
TIA,
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about wh
MemHandleUnlock (recordHdl);
if (foundIt)
{
break;
}
}
return recordNum;
}
Any help/input is greatly appreciated.
Thanks,
Andy
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.
--
Fo
Thanks!
in article [EMAIL PROTECTED], Brian Mathis at [EMAIL PROTECTED]
wrote on 7/27/00 4:58 AM:
>
> Andy Black wrote:
>> Hello All,
>> I have a strange/annoying little problem. When I install my app and run it,
>> it creates a data base. However, whenever I exit my
abase (gDataBase) then I
call FrmCloseAllForms (). Am I doing this all wrong? Oh, another strange
thing about it is, this only happens in POSE with the 2.0 ROM. The 3.5 ROM
doesn't give me this error.
Any thoughts?
Thanks,
Andy
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is
to Bookmark.
>
>
>
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
d. PackDrug resizes recordHdl as needed
then writes everything to the database.
PackDrug (&drug, recordHdl);
DmReleaseRecord(gDataBase, index, true);
}
}
--
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.
--
F
71 matches
Mail list logo