Re: Revisiting closing of open databases after a crash

2007-01-25 Thread Bruce Waters
Thanks. Somehow my eyes have forever so far missed "seeing" DmOpenDatabaseInfo() listed in the documentation. However, now I'm confused. What Jeff said below is what I would like to be the case, and I've no doubt the misunderstandings are mine, but what they are so far eludes me. My app runs

Re: A funnt bug.

2007-01-25 Thread Michael Smith
I'll take a stab: If the compiler treats the 20,000 constant as an Int16, when you mutiply by 2 you go over the 2^15 = 32768 limit, which would roll you back around to some negative number. But, if the number is bigger than an Int16 can handle, maybe the compiler treats it as an Int32 or a UInt16 .

Re: A funnt bug.

2007-01-25 Thread Dmitry Grinberg
1. what compiler? 2. what code is generated in each case? On 1/26/07, Lionscribe <[EMAIL PROTECTED]> wrote: Can anyone explain me why the code MemPtrNew(4); works fine, while the code MemPtrNew(2*2); fails. I tried it in many variations (with large numbers), and it is always the same. Th

A funnt bug.

2007-01-25 Thread Lionscribe
Can anyone explain me why the code MemPtrNew(4); works fine, while the code MemPtrNew(2*2); fails. I tried it in many variations (with large numbers), and it is always the same. The same happens with MemHandleNew. LionScribe -- For information on using the PalmSource Developer Forums, or

Re: Revisiting closing of open databases after a crash

2007-01-25 Thread Ben Combee
On 1/25/07, Bruce Waters <[EMAIL PROTECTED]> wrote: > > After a crash, I want my app on next launch to programmatically close any > of its databases left open. There does not seem to be any good way to do > this selectively -- that is, no way to relate the LocalID of a database > found to be open

Re: Revisiting closing of open databases after a crash

2007-01-25 Thread Jeff Loucks
To address your technical question, DmNextOpenDatabase() returns a DmOpenRef. Use it with DmOpenDatabaseInfo() to get the CardNo and LocalID. Use those with DmDatabaseInfo() to learn just about anything you want to about the database. You should be able to identify the ones that are yours, and clos

Revisiting closing of open databases after a crash

2007-01-25 Thread Bruce Waters
After a crash, I want my app on next launch to programmatically close any of its databases left open. There does not seem to be any good way to do this selectively -- that is, no way to relate the LocalID of a database found to be open still, to the DmOpenRef returned by using DmNextOpenDatabase

re: How to prevent my application from being beamed.

2007-01-25 Thread yinxiang
just set a bit in programe database, most IDE has an option for that. I have not use PODS, sorry for cann't test. -邮件原件- 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代表 Patricia Cartwright 发送时间: 2007年1月25日 13:09 收件人: Palm Developer Forum 主题: Re: How to prevent my application from be

答复: Where does the Treo store it's cal l-forwarding status

2007-01-25 Thread yinxiang
I remind it's saved on the network not on terminal -邮件原件- 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代表 Shimon Shnitzer 发送时间: 2007年1月22日 22:31 收件人: Palm Developer Forum 主题: Where does the Treo store it's call-forwarding status Hi, I know the "real" info has to be read from the net

CDK for Mac OS X?

2007-01-25 Thread Nikolai Filipov
Hello all! I know there is a Palm CDK (Conduit Dev. Kit) for Windows. But is there one for Mac OS X? Nikolai F. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.10/651 - Release Date: 24.1.2007 -- For information on using the

Re: Some Suggestions from u all

2007-01-25 Thread Borszczuk
Rabindra Nayak wrote: > you can learn J2ME because it is platform independent and future mobile > will be javadevice. C# is also platform independent. It works on Windows and Windows Mobile ;) But I'd go for C# first, but for pure economical reason... Regards, -- "Daddy, what "Formatting drive

Re: Some Suggestions from u all

2007-01-25 Thread Aaron Ardiri
On 1/25/07, Rabindra Nayak <[EMAIL PROTECTED]> wrote: you can learn J2ME because it is platform independent and future mobile will be javadevice. thats what they told us in 1995, about java. so, i jumped on the bandwagon.. got certified in 1999, started teaching classes and got into the mobil

Re: Some Suggestions from u all

2007-01-25 Thread Rabindra Nayak
you can learn J2ME because it is platform independent and future mobile will be javadevice. rabindra Ekra <[EMAIL PROTECTED]> wrote: Dear All, I wanted to learn some extra in PDA. I am currently working as Palm Appln developer in C language. I have some options I can learn Symbian or .net

Is there any way to close the LCD programmatically?

2007-01-25 Thread yinxiang
Here's my code, I intended to turn off the LCD programmatically, but they are not working Err err = SysLibLoad( kHWUtilsType, kHWUtilsCreator, &HWURef ); if ( err == 0 ) { loaded = true; } HWUOpen( HWURef ); Err err = HWUEnableDi

re: Why no CtlGetUsable?

2007-01-25 Thread James Lin
Alan Ingleby wrote: > > I can't see an API which will allow me to detect the > usable state of a control. I know I can go directly > to the ControlAttrType structure on only versions of > the OS, but what about a correct way? The reason why there's probably no CtlGetUsable is because CtlSetUsab

re: Text Field

2007-01-25 Thread Patricia Cartwright
The fields are not in a table. --- Bismi <[EMAIL PROTECTED]> wrote: > If your fields are in a table u have structure named > UIColorTableEntries; > > in that u can use "UIFieldText". > > to change text color > -- > For information on using the PalmSource Developer > Forums, or to unsubscribe, p