Re: Alt key simulation with Keyboard input

2003-03-03 Thread Ben Combee
At 21:12 2003-3-2 -0800, you wrote:
Is it possible to hilite or underline a letter on a button so that pressing
Alt + key activates the button.
For example, can I create a 'Save' button similar to the Visual Basic
'&Save' text, and trap and Alt-S to activate the button.
Also, I can trap the Enter key but not the Tab key from a Palm keyboard
attachment.
You can't do everything you mention, but you might want to join the 
developer program at www.thinkoutside.com -- they have a nice document 
describing how you build your application to take full advantage of their 
keyboards.  They are the ones that do the really popular folding keyboards 
that Palm, Sony, and Targus resell.


Do all keyboards used with Palm devices generate the same character codes or
are they manufacturer specific?
It's manufacturer specific right now.  Lots of developers have asked 
PalmSource to standardize this, but there's not much yet.

Is there a source that describes keyboard coding for the Palm device?
See the reference I made above.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Database Records Transfer

2003-03-03 Thread Ben Combee
At 23:18 2003-3-2 -0500, you wrote:
OK.  I think that was it.  I looked in my CW8 directories for the Palm docs
and came across one called, "Palm File Format Spec.pdf".  I believe this is
the file that you described.
Anyway, just to be clear (if you don't mind)...I can make a binary file on a
Windows machine using simple C routines (i.e. fopen, fread, fwrite, etc).  I
can name this file with a .pdb extension and write the data to it in the
format described in the document.  Then I can transfer the newly created
.pdb file over to my handheld just like I do with any other .pdb?
You can do that, but I'd highly recommend using libprc -- the library that 
comes with the source for par that already handles all the details of 
reading and writing PDB files, as well as PRC files.

See www.djw.org and look in the hacks section.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Heaps information in Emulator

2003-03-03 Thread Dan Patrutiu
Hi all. Is there any tool to provide me information about the heaps and
the heap blocks in the Emulator, as Simulator does? Also, about the
databases?

Thanks in advance,
Dan



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: debug simulator

2003-03-03 Thread Chris Apers


> > > I'm working under WinXP do you know why ?
> >
> > No, I don't know why you are using Windows XP.  ;-)
> 
> heh.
> 
> > I'm using both the simulator and Pose on XP without problems.  Is the
> > simulator crashing while debugging your app or just in general?  I have
> had
> > the simulator crash once or twice when my Palm app misbehaved, but not
> just
> > making the debug connection or running the built-in apps.
> > Any details you could provide?
> 
> palmsim is quite stable. i have been using it since dr1 :) it is however
> very flaky about reporting errors to you *g* - it can barf in an instant,
> and, not tell you why. in these cases, you are better of running the app
> on pose (to find out why it crashes).

Yes but the problem is that my app works great on os<5  :o\

> 
> palmsim doesn't crash unless *you* do something stupid/wrong :)
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: debug simulator

2003-03-03 Thread Aaron Ardiri
> > palmsim is quite stable. i have been using it since dr1 :) it is however
> > very flaky about reporting errors to you *g* - it can barf in an
instant,
> > and, not tell you why. in these cases, you are better of running the app
> > on pose (to find out why it crashes).
>
> Yes but the problem is that my app works great on os<5  :o\

even on the 4.0 debug roms? i have a hard time believing that if it crashes
the palmsim. if your app runs fine on 4.0 with debug on, then, it should run
perfectly on palmsim.

what type of error?

---
Aaron Ardiri   [EMAIL PROTECTED]
CEO - CTO  +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


something wierd !

2003-03-03 Thread sylBEERt
Hi,

I'm making a call to gethostbyname on the Palm & it seems to be failing ONLY
for a particular hostname. I use exactly the same code .. with the same
hostname in a c++ program on linux & it works just fine !! Ofcourse I'm
using Berkley Sockets. What is wierd is that this bit of code was working
perfectly well until a week ago!!

the hostname for which my code is failing is: 'toc.oscar.aol.com'

cout << "Creating Socket...";
sock = socket(AF_INET, SOCK_STREAM, 0);
if(sock==-1)
{
cout << "Error creating socket" << endl;
return -1;
}
cout << "Created" << endl;

cout << "Calling gethostbyname...";
testHostentP = gethostbyname("toc.oscar.aol.com");

if(!testHostentP)
{
cout << "Error getting hostname" << endl;
return -1;
}
cout << "Success" << endl;

I get success, but testHostentP->h_addr holds a NULL value. As a result of
which, connect fails !

Can't see what I'm doing wrong. Any solutions, suggestions anyone ?



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Masking characters for Password field

2003-03-03 Thread Paturi, Ramesh P (IndSys)
Hi:
I have a requirement wherein I need to mask the characters that are
keyed in (or written by stylus) in the edit field. The entered chars are
that of a password and hence need to masked. I just could not see a way of
doing this. I would appreciate if one of you guys can suggest me the way of
doing this... ( This might look silly but I have never seen this thing on
Palm applications)

Thanks in advance.

Ramesh


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this 
communication is strictly Prohibited. 
If you have received this message by error, please notify us 
immediately, return the original mail to the sender and delete the 
message from your system."


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: debug simulator

2003-03-03 Thread Chris Apers


> > > palmsim is quite stable. i have been using it since dr1 :) it is
however
> > > very flaky about reporting errors to you *g* - it can barf in an
> instant,
> > > and, not tell you why. in these cases, you are better of running the
app
> > > on pose (to find out why it crashes).
> >
> > Yes but the problem is that my app works great on os<5  :o\
>
> even on the 4.0 debug roms? i have a hard time believing that if it
crashes
> the palmsim. if your app runs fine on 4.0 with debug on, then, it should
run
> perfectly on palmsim.

I use clie roms and there is no debug/release roms.
Perhaps i can activate something ?


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Masking characters for Password field

2003-03-03 Thread Prakash
Hi,

>> ( This might look silly but I have never seen this thing on
>> Palm applications)

I guess thats mainly because it's very easy to make mistakes with Graffiti!

If you use wap, you probably might've noticed that when you enter password,
first it'll wait for few seconds showing the last character you entered and
then change it to '*'. maybe you can implement something like that..

Cheers,
Prakash



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paturi,
Ramesh P (IndSys)
Sent: Monday, March 03, 2003 11:29 AM
To: Palm Developer Forum
Subject: Masking characters for Password field


Hi:
I have a requirement wherein I need to mask the characters that are
keyed in (or written by stylus) in the edit field. The entered chars are
that of a password and hence need to masked. I just could not see a way of
doing this. I would appreciate if one of you guys can suggest me the way of
doing this... ( This might look silly but I have never seen this thing on
Palm applications)

Thanks in advance.

Ramesh


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."


--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Masking characters for Password field

2003-03-03 Thread prasadb
Hai Ramesh,
   This is one of the way to replace the password chars which are keyed in.

case keyDownEvent:
if (event->data.keyDown.chr > 32)
{
fld = GetObjectPtr(Login);
FldInsert(fld, "*", 1); 
handled = true;
}
break;  

Other way is you can use the API whih is available in Reference.pdf
  check these
   PwdSet()
   PwdVerify() etc..


have fun:)
Prasad Bathini

-Original Message-
From: Prakash [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 4:27 PM
To: Palm Developer Forum
Subject: RE: Masking characters for Password field


Hi,

>> ( This might look silly but I have never seen this thing on
>> Palm applications)

I guess thats mainly because it's very easy to make mistakes with Graffiti!

If you use wap, you probably might've noticed that when you enter password,
first it'll wait for few seconds showing the last character you entered and
then change it to '*'. maybe you can implement something like that..

Cheers,
Prakash



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paturi,
Ramesh P (IndSys)
Sent: Monday, March 03, 2003 11:29 AM
To: Palm Developer Forum
Subject: Masking characters for Password field


Hi:
I have a requirement wherein I need to mask the characters that are
keyed in (or written by stylus) in the edit field. The entered chars are
that of a password and hence need to masked. I just could not see a way of
doing this. I would appreciate if one of you guys can suggest me the way of
doing this... ( This might look silly but I have never seen this thing on
Palm applications)

Thanks in advance.

Ramesh


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."


--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Heaps information in Emulator

2003-03-03 Thread Prakash
Hi,

If you use Codewarrior, from PalmOS menu--> Open debug console..
type help for list of available commands..

Cheers,
Prakash


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dan
Patrutiu
Sent: Monday, March 03, 2003 9:24 AM
To: Palm Developer Forum
Subject: Heaps information in Emulator


Hi all. Is there any tool to provide me information about the heaps and
the heap blocks in the Emulator, as Simulator does? Also, about the
databases?

Thanks in advance,
Dan



--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Masking characters for Password field

2003-03-03 Thread prasadb

and also you need to store the character entered in a buffer to compare  .
if (event->data.keyDown.chr > 32)
{
//copy the event.data.kewdon.chr in to a buffer 
fld = GetObjectPtr(Login);
FldInsert(fld, "*", 1); 
handled = true;
}
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 4:35 PM
To: Palm Developer Forum
Subject: RE: Masking characters for Password field


Hai Ramesh,
   This is one of the way to replace the password chars which are keyed in.

case keyDownEvent:
if (event->data.keyDown.chr > 32)
{
fld = GetObjectPtr(Login);
FldInsert(fld, "*", 1); 
handled = true;
}
break;  

Other way is you can use the API whih is available in Reference.pdf
  check these
   PwdSet()
   PwdVerify() etc..


have fun:)
Prasad Bathini

-Original Message-
From: Prakash [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 4:27 PM
To: Palm Developer Forum
Subject: RE: Masking characters for Password field


Hi,

>> ( This might look silly but I have never seen this thing on
>> Palm applications)

I guess thats mainly because it's very easy to make mistakes with Graffiti!

If you use wap, you probably might've noticed that when you enter password,
first it'll wait for few seconds showing the last character you entered and
then change it to '*'. maybe you can implement something like that..

Cheers,
Prakash



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paturi,
Ramesh P (IndSys)
Sent: Monday, March 03, 2003 11:29 AM
To: Palm Developer Forum
Subject: Masking characters for Password field


Hi:
I have a requirement wherein I need to mask the characters that are
keyed in (or written by stylus) in the edit field. The entered chars are
that of a password and hence need to masked. I just could not see a way of
doing this. I would appreciate if one of you guys can suggest me the way of
doing this... ( This might look silly but I have never seen this thing on
Palm applications)

Thanks in advance.

Ramesh


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."


--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


timer with event

2003-03-03 Thread Rodolphe Bréjaude
Hello,
I use CW9 and I want to set a timer that send my events when it goes, each
xx seconds or less.
How can I do such a timer?
I found "SysTimerCreate" but it looks like it is for system use only?
With POL?
How can I set/get events periodically in a form to make a label ON and OFF
each seconds.

Thanks for your help.
Rodolphe


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Heaps information in Emulator

2003-03-03 Thread Dan Patrutiu

"Prakash" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi,
>
> If you use Codewarrior, from PalmOS menu--> Open debug console..
> type help for list of available commands..
>
> Cheers,
> Prakash
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Dan
> Patrutiu
> Sent: Monday, March 03, 2003 9:24 AM
> To: Palm Developer Forum
> Subject: Heaps information in Emulator
>
>
> Hi all. Is there any tool to provide me information about the heaps
and
> the heap blocks in the Emulator, as Simulator does? Also, about the
> databases?
>
> Thanks in advance,
> Dan
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
>
>

Thank you for the tip. But I really to watch the contents of heap blocks
to see some usable information. With these commands I can only watch the
information about blocks, but not the contents.

Somebody else having another reference ?

Dan





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Notify event

2003-03-03 Thread Chris Apers
Hi,

I'd like to know how to receive notification of inserted/removed memcard.

I tried to put SysNotifyRegister on PilotMain but i don't receive the 
sysNotifyCardInsertedEvent/sysNotifyCardRemovedEvent

Can you help me ?

thanks
Chris

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


String Width

2003-03-03 Thread Micky Menezes
Hi all
I have got customTableItem in my table.
I am drawing it with TblSetCustomDrawProcedure .
Now I want it to be diaplay as Lable Table Item.
i.e alligned to right. in that column.

eg:
   Micky
 Menezes
Thanking
 You
  In
 Advance   

Is there any function by which i'll get the (coord)
width of that string which i am drawing.
is there some other way ?

Bye


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Fatal Alert, Event.c Event queue full

2003-03-03 Thread Jeff Wheeler
Rahul Shukla wrote:
>> On one or two screens i get this error as 
>> Fatal Alert, Event.c event queue full.
>> Can any one help me in suggesting the remedy 
>> of this problem, or the potential cause of the same.

Calling WinScrollRectangle() on a Handera 330 can generate this error.

Jeff
 





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


string and constructor

2003-03-03 Thread Chris Apers
Hi,

I try to create a string in constructor with hex values :
00 05 28 00 00 96 08
but when i compile, i have 
00 05 28 00 00 D0 08
instead, do you know why ? is this a bug ?

thanks
Chris

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Notify event

2003-03-03 Thread Jeff Wheeler
Chris Apers wrote:
>> I'd like to know how to receive notification of 
>> inserted/removed memcard.
>>
>> I tried to put SysNotifyRegister on PilotMain but i 
>> don't receive the sysNotifyCardInsertedEvent/
>> sysNotifyCardRemovedEvent

My guess is that you ARE in fact receiving these events, but not finding
them as part of the sysAppLaunchCmdNotify event.  I've sent a code snippit
offline.

Jeff
 





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: String Width

2003-03-03 Thread Aaron Ardiri
> Is there any function by which i'll get the (coord)
> width of that string which i am drawing.
> is there some other way ?

Fnt* routines - specifically FntCharsWidth()

---
Aaron Ardiri   [EMAIL PROTECTED]
CEO - CTO  +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: symbol sdk

2003-03-03 Thread burhan ahmad
i want to build an application that has symbol sdk and ultralite support. I
can do one thing at a time either have symbol sdk by using application
wizard or using stationary for ultralite but how do i include both.
await.
"John E. Christ III" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> > how do i include symbol sdk in codewarrior to
> > implement barcode functionality.
>
> Look in the samples directory of the Symbol SDK.
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Notification Clarification

2003-03-03 Thread Brad Figler
All,

I have read the section in the palm os companion a couple of times about
launch codes and notifications.  I am not to sure that I understand
everything I am reading.  Sorry if this is a stupid question.

From my understanding, you *usually* register for a notification when
your application launches.  However, I am unclear when to un-register for a
notification.  If I wanted my application to handle the
sysNotifyCardInsertedEvent, would I only be able to do this when my
application is the application running?  If I un-register for the
notification when my app is terminated, then it would seem that I can only
get the event while my application is running.  Also, what if the user
installed my app, but has not run it yet?  How would I register for the
notification in that case?

Thanks in advance,

Brad



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Notification Clarification

2003-03-03 Thread Danny Wong
HI,

Normally you should unregister when you exit the app. If you don't
then your app will receive sysNotifyCardInsertedEvent event and will
execute your code and probably would crash if it references globals.

In your app you can force a soft reset during install and when your app
receives the
reset event you can then register your events.

regards,

danny
www.toysoft.ca


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Brad
> Figler
> Sent: Monday, March 03, 2003 8:28 AM
> To: Palm Developer Forum
> Subject: Notification Clarification
>
>
> All,
>
> I have read the section in the palm os companion a couple of
> times about
> launch codes and notifications.  I am not to sure that I understand
> everything I am reading.  Sorry if this is a stupid question.
>
> From my understanding, you *usually* register for a notification when
> your application launches.  However, I am unclear when to
> un-register for a
> notification.  If I wanted my application to handle the
> sysNotifyCardInsertedEvent, would I only be able to do this when my
> application is the application running?  If I un-register for the
> notification when my app is terminated, then it would seem that I can only
> get the event while my application is running.  Also, what if the user
> installed my app, but has not run it yet?  How would I register for the
> notification in that case?
>
> Thanks in advance,
>
> Brad
>
>
>
> --
> For information on using the Palm Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
>
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: symbol sdk

2003-03-03 Thread John E. Christ III
> i want to build an application that has symbol sdk
> and ultralite support. I can do one thing at a time
> either have symbol sdk by using application wizard
> or using stationary for ultralite but how do i include both.

Open one of the Symbol samples, for example SscanDemo.  Make note of the
Access Paths, ScanMgr*.* files and add those to the project you create.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Clarity over %, %% in asm() with .c and .cpp (PRC tools)

2003-03-03 Thread Sean Charles
Hi,

I've just shovelled some stuff from .c to .cpp in an attempt to objectify 
my game to the hilt! In the process I experienced a nasty hiccup which, 
eventually I solved, but it has me puzzled and I can't seem to find the 
'definitive' answer...this goes out to the gurus out there.

I have a lot of inline assembler, which was in a .c file, when moved to a 
.cpp file, the compiler complained badly about this and that. Eventually I 
figured it out:

This is what the C++ compiler accepts:
#define PUSHALLNOTA7  asm("movem.l %d0-%d7/%a0-%a6, -(%sp)" : : )
#define POPALLNOTA7   asm("movem.l (%sp)+, %d0-%d7/%a0-%a6" : : )
and this is what it USED to be in C mode
#define PUSHALLNOTA7  asm("movem.l %%d0-%%d7/%%a0-%%a6, -(%%sp)" : : )
#define POPALLNOTA7   asm("movem.l (%%sp)+, %%d0-%%d7/%%a0-%%a6" : : )
i.e. double 'escaped' percentage signs everywhere. The solution to the .c/
.cpp riddle was to include a dummy input variable at the end of the asm() 
statement otherwise I faced the prospect of changing %% to % in a lot of 
places! *8-(.

In short:
asm( "  " : : );  did NOT compile under C++ mode using %% BUT
asm( "  " : : "g"(0)); DID compile.
Could anybody please enlighten me. I'm sure I could figure it out but 
right now my head hurts and I have to peel a mountain of parsnips, 
potatoes and carrots.

Kicking myself in advance.
Sean
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: timer with event

2003-03-03 Thread Dave Lippincott
http://oasis.palm.com/dev/kb/papers/1148.cfm
http://groups.yahoo.com/group/palm-dev-forum/message/78070
http://groups.yahoo.com/group/palm-dev-forum/message/69706
http://makeashorterlink.com/?A15463AA3
http://makeashorterlink.com/?C3C422AA3

- Original Message -
From: "Rodolphe Bréjaude" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, March 03, 2003 6:46 AM
Subject: timer with event


> Hello,
> I use CW9 and I want to set a timer that send my events when it goes, each
> xx seconds or less.
> How can I do such a timer?
> I found "SysTimerCreate" but it looks like it is for system use only?
> With POL?
> How can I set/get events periodically in a form to make a label ON and OFF
> each seconds.
>
> Thanks for your help.
> Rodolphe
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


UTF-8 encoded data - how to display?

2003-03-03 Thread palm
I have some UTF-8 encoded data, specifically diacritics, that I would like 
to have displayed in fields,etc proprlyer.

Currently in a field control it looks like:

André

When it should look like:

André (not sure this will print but it's an e with an apostrophe over it)

Can someone enlighten me to how to do this?  Tanks in advance!



-- 
Glenn Ford
National Library of Medicine
Bethesda, MD. USA


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: UTF-8 encoded data - how to display?

2003-03-03 Thread Sean Charles
On Monday, March 3, 2003, at 04:33 PM, [EMAIL PROTECTED] wrote:
 Tanks in advance!

otherwise known as the Blair-Bush methodology
(8-)
Sean
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: UTF-8 encoded data - how to display?

2003-03-03 Thread palm

ROFL!  Freudian slip..but I am a bush fan.

On Mon, 3 Mar 2003, Sean Charles wrote:

> 
> On Monday, March 3, 2003, at 04:33 PM, [EMAIL PROTECTED] wrote:
> >  Tanks in advance!
> >
> otherwise known as the Blair-Bush methodology
> (8-)
> Sean
> 
> 
> 

-- 
Glenn Ford
National Library of Medicine
Bethesda, MD. USA


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Notify event

2003-03-03 Thread Ben Combee
At 13:23 2003-3-3 +0100, you wrote:
Hi,

I'd like to know how to receive notification of inserted/removed memcard.

I tried to put SysNotifyRegister on PilotMain but i don't receive the
sysNotifyCardInsertedEvent/sysNotifyCardRemovedEvent
Are you sure you want the card inserted/removed events?  If you're just 
concerned about VFS, you should register for the volume mounted/unmounted 
events, since a card can have multiple volumes, and there can be other 
volume types not tied to cards.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: string and constructor

2003-03-03 Thread Ben Combee
At 15:01 2003-3-3 +0100, you wrote:
Hi,

I try to create a string in constructor with hex values :
00 05 28 00 00 96 08
but when i compile, i have
00 05 28 00 00 D0 08
instead, do you know why ? is this a bug ?
No idea, but it is likely a Constructor problem due to the embedded NUL 
character.

If you're using the new 5.0 68K SDK R2 that's in beta, there's a new "raw 
data" type in Constructor that would be a better choice.  You can either 
import raw data from a file or directly specify it using hex characters.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Masking characters for Password field

2003-03-03 Thread Steven Fisher
Paturi, Ramesh P (IndSys) wrote:
 This might look silly but I have never seen this thing on
Palm applications)
That's because it's a bad idea. :(

Instead, take a look at how the Palm handles passwords and duplicate it. 
The Palm will never show you the existing password, but will show you 
the password as you enter it.

A keyboard is 100% reliable; if you tap a key, that's what character you 
get. (Well, except on a few really early generation USB keyboards, but 
that's why I junked the things.) Graffiti is not 100% reliable.

Even if Graffiti is 95% reliable (and I think it's lower than that) that 
means they're going to fail five characters out of a hundred. When 
you're entering a multi-character password daily (or more) that becomes 
an unacceptable risk.

Additionally, the reason masking is used on a PC is the possibility of 
someone overseeing the user typing a password. That's just not a problem 
with a handheld, unless you're doing a demo with an overhead projector. 
Just hold your hand over the screen as you enter the password.

I could see having an option right on the password entry screen to mask 
the password as you enter it. I could even see remembering the state of 
that checkbox between runs. But the first time, it should default to off.

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: How to use the APIs reserved for system

2003-03-03 Thread Kevin OKeefe
If you have to ask, you probably shouldn't be using them

They are not fully documented (sometimes it's not even clear what the arguments mean), 
so if you do not know the inside details of the functions in question, you could 
easily do some harm.

However, if you do know what the arguments mean, and are willing to take such matters 
into your own hands, then yes, you can just use them after including the proper header 
file.  But by no means does that mean they are safe

Kevin

-Original Message-
From: Johnson Z [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 02, 2003 4:58 PM
To: Palm Developer Forum
Subject: How to use the APIs reserved for system



so called system use only functions.

Can I just directly use it as normal APIs or do I have to take care
about sth?

Thanks







_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


--
The information in this transmittal and any attachments are confidential and intended 
only for the recipient(s) listed above. You are hereby notified that any unauthorized 
distribution or copying of this transmittal or its attachments is prohibited. If you 
have received this transmittal in error, please notify invivodata immediately at (831) 
438-9550.
--


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: an EvtEnqueueKey() oddity

2003-03-03 Thread Ken Krugler
At 11:26 AM -0500 3/1/03, Paul Nevai wrote:
I can't figure out why a

EvtEnqueueKey ((WChar) 0x0100, 0, 0);

job produces

 >theEventP->data.keyDown.chr == 0x0100
 >theEventP->data.keyDown.keyCode == 0
theEventP->data.keyDown.modifiers == 8 // commandKeyMask

 >Is it normal that the modifiers are not 0? BTW, below 0x0100, all works OK
 >and above 0x0100 the same happens.
I used an OS 4 ROM.

 >Any ideas?
EvtDequeueKeyEvent will set the modifier bit for any character that 
it thinks is virtual. This set consists of page-up, page-down, and 
character codes >= 0x0100 and < 0x8000. It does this to protect 
against buggy code that posts virtual keydown events without the 
command bit set.

On debug builds, it also displays a fatal alert with the handy 
message "Virtual key in queue without command bit set". Since you 
didn't note this in your email, I'm assuming that you're running on a 
release ROM (if so, why?).

Yes, it's normal that the command key bit is set.  Since Palm OS
doesn't use any 2-byte encoding systems[1], there is no valid
character above 0xFF.  The values above 0xFF represent "virtual
events".  By definition, these events have the command key bit set,
so the OS enforces that for you.  See the comments in Chars.h for a
little more explanation.
BTW, are you sure that "below 0x0100, all works OK"?  I thought that
posting vchrPageUp and vchrPageDown keys would also result in the
command key being set.  Or does your definition of "OK" specify that?
Keith is correct: page-up and page-down would also cause the command 
bit to be set.

-- Keith

[1] E.g., UTF-16.
Keith is also correct that Unicode (whether UTF-16 or UTF-8) would 
cause the fix-up code in EvtDequeueKeyEvent to fail.

I expect that encoding systems like Shift-JIS are
handled a single byte at a time, even when it takes two bytes to
represent a single character.  Or perhaps via a special TSM or FEP
event.  Hopefully Ken Krugler will see this posting and clarify.
No, Shift-JIS and other multi-byte encodings currently supported by 
Palm OS always return complete characters in the keydown event 
structure. But since they never use character codes in the range 
0x0100...0x7FFF, EvtDequeueKeyEvent will never erroneously set the 
command bit.

-- Ken
--
Ken Krugler
TransPac Software, Inc.

+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


GPL source code for Noah's Dictionary

2003-03-03 Thread Paul Pang
Hi,

I am trying to locate the source code for Noah's dictionary, released 
under the GPL in 2000. The source code was removed from 
http://sourceforge.net/projects/noah and I was wondering whether anyone 
had a copy around.

Thanks for your help,

-Paul Pang

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


A68K database automatic deletion problems

2003-03-03 Thread Larson, Drew
Hello,

I am developing a driver that will install and setup some things from
start.prc on an MMC card. When it is finished installing, I want start.prc
to clean up after itself including deletion of the A68K database created by
PACE. That is where my nightmare begins. Here are a couple of things I have
tried so far.

1) Action: Doing nothing
Result: A68K database is not deleted when card is ejected. 

2) Action: Setting the recycle bit of the A68K database in hopes that the
system would delete it.
Result: A68K database is still happily intact

3) Action: Search Open Databases until I found the DmOpenRef for the
targeted A68K database; unprotected it; deleted it.
Result: Palm stopped talking to me.

4) Action: Repeated Step 3 and used SysUIAppSwitch to change to Launcher. 
Result: Palm stopped talking to me.

5) Action: Repeated Step 3 and started Launcher as instructed by the
Companion using "Enqueue Key Event"
Result: Palm stopped talking to me.

Any suggestions?

Floundering, 
  Drew






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Function TxtConvertEncoding not working in CW9?

2003-03-03 Thread palm


Maybe I am using this function wrong, but it's not working.  Hopefully 
someone can pinpoint it.  I am not seeing it. I am getting an 0x1806 error 
which i discuss below.  

Below are my variables

char *tmpBuffer = new char[8192];
*tmpBuffer = '\0';
UInt16 sLen,dLen=8192;
sLen=strResponse.GetLength();
content = strResponse.GetBuffer();
Boolean moreD=true;
Err err = 
TxtConvertEncoding(moreD,(TxtConvertStateType*)NULL,(const char 
*)content,&sLen,charEncodingUTF8,tmpBuffer,&dLen,charEncodingAscii,"XXX",3);
strResponse=tmpBuffer;
delete [] tmpBuffer;


Now what they equaled on function call:

sLen when in as 1023, came out as 1023
dLen went in as 8192, came out as 8192.
err = 6150 (decimal)

This equals 0x1806, which is: txtErrUnknownEncoding

So perhaps this function doesn't support UTF-8 to ASCII?
-- 
Glenn Ford
National Library of Medicine
Bethesda, MD. USA


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: something wierd !

2003-03-03 Thread Chris Faherty
On Monday 03 March 2003 05:33 am, sylBEERt wrote:

> I'm making a call to gethostbyname on the Palm & it seems to be failing
> ONLY for a particular hostname. I use exactly the same code .. with the
> same hostname in a c++ program on linux & it works just fine !! Ofcourse
> I'm using Berkley Sockets. What is wierd is that this bit of code was
> working perfectly well until a week ago!!
>
> the hostname for which my code is failing is: 'toc.oscar.aol.com'

(snip)

> I get success, but testHostentP->h_addr holds a NULL value. As a result of
> which, connect fails !
>
> Can't see what I'm doing wrong. Any solutions, suggestions anyone ?

This may not be related, but I noticed a strange thing like that on a 
particular host as well.  It was a particular DNS entry which returned 
different values to balance the load, and it began freaking out my Palm 
applications.  What I found was needed was to enumerate the list provided 
within the returned NetHostInfoPtr, as sometimes the first entry would be 
blank -- which is I believe the same value as ->h_addr.

NetSocketAddrINType saddr;
NetHostInfoPtr phe;
NetHostInfoBufType AppHostInfo;

if ((phe = NetLibGetHostByName(AppNetRefnum, host, &AppHostInfo,
AppNetTimeout, &errno)) != 0) {
/*
 * Sometimes the first address in the list is zero.  This
 * makes me have to search through them to find the first
 * non-zero address.
 */
for (i1=0; i1 < netDNSMaxAddresses; i1++) {
if (phe->addrListP[i1] != NULL) {
if (*phe->addrListP[i1] != '\0') {
MemMove((char *) &saddr.addr,
(char *) phe->addrListP[i1], phe->addrLen);
nameresolved = true;
break;
}
}
}
}

-- 
/* Chris Faherty <[EMAIL PROTECTED]> */

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Function TxtConvertEncoding not working in CW9?

2003-03-03 Thread Keith Rollin
At 2:10 PM -0500 3/3/03, [EMAIL PROTECTED] wrote:
Maybe I am using this function wrong, but it's not working.  Hopefully
someone can pinpoint it.  I am not seeing it. I am getting an 0x1806 error
which i discuss below. 

Below are my variables


Err err =
TxtConvertEncoding(moreD,(TxtConvertStateType*)NULL,(const char
*)content,&sLen,charEncodingUTF8,tmpBuffer,&dLen,charEncodingAscii,"XXX",3);

Now what they equaled on function call:

	

This equals 0x1806, which is: txtErrUnknownEncoding

So perhaps this function doesn't support UTF-8 to ASCII?
Yeah, that seems to be the case. TxtConvertEncoding appears to 
support charEncodingUTF8, but not charEncodingAscii!  You should get 
better results converting to the current device encoding (see 
comments about sysFtrNumEncoding in SystemMgr.h).

(I can't believe I'm answering this for a George Bush supporter... :-) )

-- Keith

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Function TxtConvertEncoding not working in CW9?

2003-03-03 Thread Keith Rollin
Replying to myself, I decided to (gasp) check the documentation in the Palm OS 5 SDK, 
and my comments are born out:

"Currently, the focus of TxtConvertEncoding is to convert
between Unicode-encoded text and the device's character encoding.
For this reason, TxtConvertEncoding can only handle
conversions between the device's encoding and one of UTF-8, UCS-
2, UTF-16LE, or UTF-16BE. If you specify any other character
encoding for either the source or the destination buffer, the error
code txtErrUnknownEncoding is returned.

"You can retrieve the device's encoding using the following function:
FtrGet(sysFtrCreator, sysFtrNumEncoding, &encoding)"

-- Keith


> -Original Message-
> From: Keith Rollin 
> Sent: Monday, March 03, 2003 2:03 PM
> To: Palm Developer Forum
> Subject: Re: Function TxtConvertEncoding not working in CW9?
> 
> 
> At 2:10 PM -0500 3/3/03, [EMAIL PROTECTED] wrote:
> > 
> 
> Yeah, that seems to be the case. TxtConvertEncoding appears to 
> support charEncodingUTF8, but not charEncodingAscii!  You should get 
> better results converting to the current device encoding (see 
> comments about sysFtrNumEncoding in SystemMgr.h).
> 
> (I can't believe I'm answering this for a George Bush 
> supporter... :-) )
> 
> -- Keith

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Clarity over %, %% in asm() with .c and .cpp (PRC tools)

2003-03-03 Thread John Marshall
On Mon, Mar 03, 2003 at 04:04:42PM +, Sean Charles wrote:
> I have a lot of inline assembler, which was in a .c file, when moved to a 
> .cpp file, the compiler complained badly about this and that. Eventually I 
> figured it out:
> 
> This is what the C++ compiler accepts:
>   #define PUSHALLNOTA7  asm("movem.l %d0-%d7/%a0-%a6, -(%sp)" : : )
>   #define POPALLNOTA7   asm("movem.l (%sp)+, %d0-%d7/%a0-%a6" : : )
> 
> and this is what it USED to be in C mode
>   #define PUSHALLNOTA7  asm("movem.l %%d0-%%d7/%%a0-%%a6, -(%%sp)" : : 
>   )
>   #define POPALLNOTA7   asm("movem.l (%%sp)+, %%d0-%%d7/%%a0-%%a6" : : 
>   )
> 
> i.e. double 'escaped' percentage signs everywhere. The solution to the .c/
> .cpp riddle was to include a dummy input variable at the end of the asm() 
> statement otherwise I faced the prospect of changing %% to % in a lot of 
> places! *8-(.

If you look in the manual, you'll find an all-too-fleeting reference
to "old-style asm()s", as opposed to the modern "extended asm()s".

The extension in question is the ability to interface to C data, via the
lists of output and input operands and clobbers after the colons.  You
refer to the operands within the asm template string with %0, %1, etc,
and of course you might need a way to have a literal percent sign output
from your asm template, and you do that by escaping it thus: %%.

In an old-style asm(), %0 has no special meaning to the compiler -- it's
just a % followed a 0, and will be given to the assembler as such -- so
there's never a need to escape percent signs.  So %% pretty much never
appears in an old-style asm().

Syntactically, an extended asm is one that has some operands and/or
clobbers listed, and an old-style one is one that has none.

So this is old-style:   asm ("move.l %d0,%d1");

and this is new-style:  asm ("move.l %0,%%d1" : : "d"(foo) : "%d1");

But you ask about:  asm ("um um um" : : );

Does the mere presence of the colons mean it's an extended asm() even
though you haven't listed any operands or clobbers?  The weirdness of
the syntax suggests yes, and GCC agrees with you:  with GCC 3.x it's
extended (and so wants "%%d1") in both the C and C++ compiler, and
similarly with GCC 2.95.x's C compiler; but the 2.95.x C++ compiler
thinks the colons are immaterial and considers it to be old-style.

Thus you've run into a bug in the 2.95.x C++ parser.  Bad luck.

Yes, it's a pain to decide whether your asm() for today is going to be
old-style or extended and thus how many percent signs to put in it.

Therefore in practice what I do is always use extended asm()s and always
list some clobbers and usually operands too.  If you're not listing any
operands or clobbers, 99% of the time it's because you're lying to the
compiler.  You don't want to do that.

For example, your POPALLNOTA7

> #define POPALLNOTA7   asm("movem.l (%%sp)+, %%d0-%%d7/%%a0-%%a6" : : )

clobbers practically all the registers, but you haven't told the
compiler that.  If you do bother to tell the compiler, then

(1) it will be able to generate correct code around your asm() instead
of potentially generating broken code [1];

(2) you will have no "is this old or extended" syntactic problems.

In practice what I also find is that my inline asm() template texts
don't contain many explicitly named registers.  Rather, they're full
of %0, %1, etc, and I let the compiler take care of the boring work of
allocating and loading the registers.  It's the computer, after all.

If you are writing great screeds of entire asm subroutines with explicit
hand-allocated register manipulation, probably you want to be using a
separate assembler source file (foo.s) rather than inline asm.

You owe the Oracle one lightly roasted parsnip.

John

[1] http://www.escribe.com/computing/pcpqa/m70437.html

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Custom ROM images

2003-03-03 Thread Brad Figler
Are there tools to build custom ROMS for PALM devices, specifically m515 and
m550?  I found Romeo on sourceforge, but it appears to be quite outdated.
Would contacting PALM inc. be a better approach?


Thanks,

Brad



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Function TxtConvertEncoding not working in CW9?

2003-03-03 Thread palm
Thanks Keith!  

On Mon, 3 Mar 2003, Keith Rollin wrote:

> Replying to myself, I decided to (gasp) check the documentation in the Palm OS 5 
> SDK, and my comments are born out:
> 
> "Currently, the focus of TxtConvertEncoding is to convert
> between Unicode-encoded text and the device's character encoding.
> For this reason, TxtConvertEncoding can only handle
> conversions between the device's encoding and one of UTF-8, UCS-
> 2, UTF-16LE, or UTF-16BE. If you specify any other character
> encoding for either the source or the destination buffer, the error
> code txtErrUnknownEncoding is returned.
> 
> "You can retrieve the device's encoding using the following function:
> FtrGet(sysFtrCreator, sysFtrNumEncoding, &encoding)"
> 
> -- Keith
> 
> 
> > -Original Message-
> > From: Keith Rollin 
> > Sent: Monday, March 03, 2003 2:03 PM
> > To: Palm Developer Forum
> > Subject: Re: Function TxtConvertEncoding not working in CW9?
> > 
> > 
> > At 2:10 PM -0500 3/3/03, [EMAIL PROTECTED] wrote:
> > >   
> > 
> > Yeah, that seems to be the case. TxtConvertEncoding appears to 
> > support charEncodingUTF8, but not charEncodingAscii!  You should get 
> > better results converting to the current device encoding (see 
> > comments about sysFtrNumEncoding in SystemMgr.h).
> > 
> > (I can't believe I'm answering this for a George Bush 
> > supporter... :-) )
> > 
> > -- Keith
> 
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
> http://www.palmos.com/dev/support/forums/
> 

-- 
Glenn Ford
National Library of Medicine
Bethesda, MD. USA


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Palm 5 Simulator + my modem ISP connection problem

2003-03-03 Thread palm
I am doing some work from home, and I have a silly 56k modem connection 
to the internet.

I want to setup the simulator to use my existing connection so I:
goto preferences
Make custom connection
connection - LAN + I tried all the setting that combine with LAN and they 
all try to access the serial line?

So - Is it possible to setup Palm 5 Simulator to work as a wireless 
connection on my computer that is connected via a 56k modem to the 
internet (AOL at that).

Anyone?

-- 
Glenn Ford
National Library of Medicine
Bethesda, MD. USA


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Resource types

2003-03-03 Thread Alex Lam
Resource types starting with "t"s, such as "tbmp" are well documented.
Where can I get a list of resources that starts with "a"s ?
Presumabily they are ARM related... for example, "aalt" are alert 
frames. What do you think "amdc" and "amdi" are ??
I wonder how "t" resources are different from "a" resources...

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: String Width

2003-03-03 Thread Micky Menezes
Thanks Aaron
for your great help.
bye
--- Aaron Ardiri <[EMAIL PROTECTED]> wrote:
> > Is there any function by which i'll get the
> (coord)
> > width of that string which i am drawing.
> > is there some other way ?
> 
> Fnt* routines - specifically FntCharsWidth()
> 
> ---
> Aaron Ardiri  
> [EMAIL PROTECTED]
> CEO - CTO   
>   +46 70 656 1143
> Mobile Wizardry
> http://www.mobilewizardry.com/
> 
> -- 
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Custom ROM images

2003-03-03 Thread Ben Combee
At 17:00 2003-3-3 -0700, you wrote:
Are there tools to build custom ROMS for PALM devices, specifically m515 and
m550?  I found Romeo on sourceforge, but it appears to be quite outdated.
Would contacting PALM inc. be a better approach?
Look at ImagePro from HandEra.  It is specifically designed to do this.

Details at http://www.handera.com/products/imagepro.asp

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Resource types

2003-03-03 Thread Ben Combee
At 13:29 2003-3-4 +1100, you wrote:
Resource types starting with "t"s, such as "tbmp" are well documented.
Where can I get a list of resources that starts with "a"s ?
Presumabily they are ARM related... for example, "aalt" are alert frames. 
What do you think "amdc" and "amdi" are ??
These are explicitly "not documented" right now.  They are pretty much 
useless from 68K applications or ARMlets.

You might be able to tell some of the layouts by looking at the 
PALM_INTERNAL parts of the PilRC source code.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Custom ROM images

2003-03-03 Thread Adrian Nicolaiev
> Are there tools to build custom ROMS for PALM devices, specifically m515
and
> m550?  I found Romeo on sourceforge, but it appears to be quite outdated.
> Would contacting PALM inc. be a better approach?

Take a look at Flash Tool Set:
http://www.brayder.com/products/flashtoolset.html

Adrian Nicolaiev
http://www.niconnect.com



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Resource types

2003-03-03 Thread Rob Larson
So the only use for "aalt", "amdc" and "amdi" resources are for native arm
applications?
Any particular places where I might get these for my Tungsten?



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/