Re: Debugging on Treo 600

2004-11-08 Thread Rob
You can only debug the T600 using a serial connector. Rob On Fri, 5 Nov 2004 17:26:44 +0530, Mansingka, Dipanshu Sushilkumar [EMAIL PROTECTED] wrote: Hi All, I am able to set the treo 600 device into console mode by typing shortcut..2 in the find dialog. But after I press ok in code warrior,

Re: Palm OS's Future

2004-11-08 Thread Laurens
Mohammad Afshari wrote: any thoughts is much appreciated. Well, I'm beginning to worry, and I'm sure I'm not the only one. OS6 devices from PalmOne are not due for another year at least. (Realistically, it will be spring 2006 at the earliest.) The only tangible bit of info we have regarding any

Tring to update a database 'appl' when i hit done.

2004-11-08 Thread Mezafits
When i hit the done button it updates all of the values in the database to the wrong number. If I create an interger and put a the value SumInt inplace of tmpBuffer it updates exactly to that int. The Text fields which it gets are set ahead of time by the values in the database. all i am

re: Palm OS's Future

2004-11-08 Thread Trace Wotherspoon
I have recently done a study of PDA's and smartphone as background research into a new application. While Microsoft Win mobile initially look the best bet as a starting platform, the MS based PDA's have a major floor for the application we are aiming at. Battery life! The applications we were

Retreive Form Bitmap ID

2004-11-08 Thread Chris Apers
Hi, How can i retreive the true form ID of a bitmap ? Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

handle error

2004-11-08 Thread Plissken El Serpiente
when I try the following code on the simulator it crashes due to the call to the function FldSetText with the error. Non-word-aligned Handle. Can anyone help me? h = DmQueryRecord(elecDatabase, indexgen); if (h) { DBRecordType * p = (DBRecordType *) MemHandleLock(h);

re: Know of any Real Life POL apps?

2004-11-08 Thread Matthew Henry
eWallet 4.0 was written using POL. http://www.iliumsoft.com/site/mprods/products.htm -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: TblHasScrollBar

2004-11-08 Thread Terry
on 11/7/04 12:21 AM, Ben Combee at [EMAIL PROTECTED] wrote: What does TblHasScrollBar do? If this is set, then the field that's created when editing a table cell has it's hasScrollBar property turned on. This causes the field to send fldChangedEvents more frequently, as you may need to

RE: Palm OS's Future

2004-11-08 Thread scuff
Ran into the same problem designing an airline load manifest application - battery life and unit cost (of course!). Turned out that the grayscale Palms with AAA batteries (VIIx, m105, m125, etc...) was the best bet for us - and for the flight crews using the device - going eBay prices for

Re: handle error

2004-11-08 Thread Helmut A. Bender
Hi, I'm not shure why this error shows up, but two things you should change: - FldSetText needs an _unlocked_ handle. You should unlock h before you call FldSetText. - The size parameter of FldSetText should be at least StrLen(...)+1. It's not the size of the string but the allocated size of

pow of math.h function does not compile

2004-11-08 Thread Aryeh Teitelbaum
I try to use the pow funcion, I made the math.h include, but it does not want to compile it. It says me function has no prototype. Anybody knows how to use it ? Aryeh Teitelbaum -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Accessing Members of a String List?

2004-11-08 Thread Matthew Graham
Gary wrote: Oh, one more thing: I tried doing it with SysStringByIndex, but gave-up trying to figure-out where I get a DmOpenRef for the (apparently changed?) arglist: Old: SysStringByIndex (1300, 0, iStringListID, sizeof(sTargetString)); New: SysStringByIndex (DmOpenRef,

Re: Perl for Palm OS?

2004-11-08 Thread Matthew Graham
Rhino wrote: By the way, what are all the languages that can be used to develop for Palm OS? I know that C, C++, and Java are possible development languages and I think I read that Visual Basic can be used as well. Any others? I don't know what language they would be but there are also NSBasic,

re: GPS apps

2004-11-08 Thread Anushka Doshi
I am looking for more information on a smartphone (for e.g. Samsung i500, Samsung i600) with an embedded GPS chip. How can I programatically access the chip and get location infomation? Even if there is no GPS specific API is there a spec or protocol on accessing the comma separated text

Re: T5 memory leak in FntDefineFont

2004-11-08 Thread Ken Krugler
the crash happens with FntDefineFont(id, NULL) in the 5.4 simulator from palmsource.com OK, I'll look into that. You should also report it as a bug to PalmSource. the leak is in the real T5 unit being sold and this simulator. By this simulator I assume you mean the 5.4 version from PalmSource,

Re: Retreive Form Bitmap ID

2004-11-08 Thread Ben Combee
At 06:11 AM 11/8/2004, you wrote: Hi, How can i retreive the true form ID of a bitmap ? Form bitmap objects do not have object IDs; there's no place in the data structure for an ID number to go. That's why they are always referenced based on either their index within the form or by the ID

Re: problems with FrmRemoveObject

2004-11-08 Thread Jennifer Fell
Well, I have found the problem at last! And I would categorize it as an OS bug. When creating the popup trigger (say object index x) and the associated list (object index x + 1) dynamically, the Palm OS creates a third object (object index x + 2). This third object must be removed before

Re: Accessing Members of a String List?

2004-11-08 Thread Dave Carrigan
On Fri, Nov 05, 2004 at 08:12:01PM -, Gary wrote: How do I access the members of a string list? I've got my list STRING_LIST_RESOURCE RESOURCE_ID=1300 STRING_PREFIX Item_List /STRING_PREFIX STRINGS TEXT Item 1 /TEXT TEXT Item 2 /TEXT

Re: Palm OS's Future

2004-11-08 Thread mike margerum
I just dont understand their licensing strategy. Why not license it to anyone who wants to build devices around it without ridiculous startup fees and minimum sales contracts. I can download m$'s platform builder and start building devices today. Let Dell take a whack at palmOne. Lord knows

Re: Dynamic lists - how to create them?

2004-11-08 Thread Developer
Here is the code: // global variables char **ListChoices=0; Int16 ListNumItems; // global variables end static Boolean EditFormHandleEvent(EventPtr eventP) { Char **itemList; unsigned int i; records_record *structPtr; // pointer to record structure ListType *lstP; ListPtr

new developper needs assistance.. design question

2004-11-08 Thread Luc Raymond
I need to write a palm application which will read news items stored in a file. The news file, which will be created by the pc, needs to be copied to the handheld at every hotsync. I dont need to keep the old news, so my goal was to overwrite the news file if it exists. I downloaded the

Re: new developper needs assistance.. design question

2004-11-08 Thread Dave Carrigan
On Mon, Nov 08, 2004 at 07:12:29PM -, Luc Raymond wrote: I downloaded the conduit sdk, but I'm not sure how to handle the solution. Do I create a pdb (which api?) and use the quickinstall.exe program to upload my pdb to the handheld? do I create a conduit and write directly to the handheld

Re: Perl for Palm OS?

2004-11-08 Thread Henk Jonas
Matthew Graham wrote: Rhino wrote: By the way, what are all the languages that can be used to develop for Palm OS? I know that C, C++, and Java are possible development languages and I think I read that Visual Basic can be used as well. Any others? I don't know what language they would be but

Re: pow of math.h function does not compile

2004-11-08 Thread Aryeh Teitelbaum
Thanks for your help Dave, but the arguments are suitable. Aryeh - Original Message - From: Dave Lippincott [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Monday, November 08, 2004 5:50 PM Subject: Re: pow of math.h function does not compile The function needs to be

Re: Dynamic lists - how to create them?

2004-11-08 Thread Henk Jonas
Developer wrote: Here is the code: itemList[i] = (char *) MemPtrNew(25); // 25 is maximum size of structPtr-fld_1 itemList[i] = structPtr-fld_1; // I think I am doing something terribly wrong here Hey dude, you absolutly right. You do somehting terrible wrong there. You allocate room

Using Records

2004-11-08 Thread Tony Janke
I am trying to store a data structure in a record and have a few questions. There seems to be (at least) 2 ways to store data in a record. You can either create a new record, and over write an old record with the new copy that contains the new field values. The other way is to edit the

Re: Palm OS's Future

2004-11-08 Thread Trejkaz Xaoza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 9 Nov 2004 04:13, mike margerum wrote: I just dont understand their licensing strategy. Why not license it to anyone who wants to build devices around it without ridiculous startup fees and minimum sales contracts. I can download m$'s

Re: Palm OS's Future

2004-11-08 Thread mike margerum
Linux has a ways to go before it's any real competition to palm and m$ but I do think eventually it will become a major player. I didnt say licensees didn't have to pay m$. You have to pay a per device royalty and that's fine. They just don't make you pay an initial large fee and a contract

Re: Palm OS's Future

2004-11-08 Thread mike margerum
I want to see a device like this running os6 http://www.dynamism.com/sl-c3000/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Using Records

2004-11-08 Thread Henk Jonas
Hi Tony, first I wanted to write you this: if I would have to deal with a structure complicated as yours is, I wouldn't hesitate to update the whole structure at once. You could rearrange you ChannelAtt-struct to have everything more processor (alingment) friendly. Try to order the members by

Re: pow of math.h function does not compile

2004-11-08 Thread Henk Jonas
You did the include before you try to use pow? Could you post some code? Is the pow declared inside the math.h, have you checked? Are you sure you checked the correct math.h? Make just the preprocessor stage and look into th (big) output file from the preprocessor. Is pow() declared? Try to

Re: Palm OS's Future

2004-11-08 Thread Chris Tutty
From: Laurens [EMAIL PROTECTED] Well, I'm beginning to worry, and I'm sure I'm not the only one. OS6 devices from PalmOne are not due for another year at least. (Realistically, it will be spring 2006 at the earliest.) I'm really not sure that OS6 is that important for the future of Palm

Re: pow of math.h function does not compile

2004-11-08 Thread Ben Combee
At 02:29 PM 11/8/2004, you wrote: Thanks for your help Dave, but the arguments are suitable. Search the forum archives for MathLib. The standard math functions aren't supplied by the libraries that come with CodeWarrior for Palm OS or PODS, you need to use them from a shared library. -- Ben

Re: Palm OS's Future

2004-11-08 Thread MCC
Is Palm still discounting for development, we are looking for a 650. TIA, Pat... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Palm OS's Future

2004-11-08 Thread Ben Combee
At 04:15 PM 11/8/2004, you wrote: Is Palm still discounting for development, we are looking for a 650. There is a developer discount program at pluggedin.palmone.com, however I've never seen the Treo smartphones offered at a discount over the web. The only discounts have been at the PalmOne

Re: Dynamic lists - how to create them?

2004-11-08 Thread Developer
Thanks a lot Henk. Everything works fine now. Henk Jonas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Developer wrote: Here is the code: itemList[i] = (char *) MemPtrNew(25); // 25 is maximum size of structPtr-fld_1 itemList[i] = structPtr-fld_1; // I think I

ANN: PilRC CodeWarrior Plugin 3.2

2004-11-08 Thread Neil Rhodes
This is an announcement of a new version of the PilRC plugin to CodeWarrior (for both Mac and Windows). Download from http://www.calliopeinc.com/pilrcplugin.html Version 3.2 Updated to PilRC 3.2. Neil -- Neil Rhodes [EMAIL PROTECTED]Available for contract programming Coauthor: Palm

GCC __attribute__ to CodeWarrior

2004-11-08 Thread Peter Easton
Hi, I'm porting some code from GCC to CodeWarrior. How Do I handle function definitions like this: int Init(void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *) __attribute__ ((section (prog))); void Main(void *) __attribute__ ((section (prog)));

Dynamic Memory Issues:

2004-11-08 Thread oaklandgrrl
I have been working on a project using NSBasic for quite sometime. I am using a Tungsten C, (OS 5.2.1). The project is 566k. When I go beyond this, the program began to act erratically, i.e., it did not respond correctly to routines. I had thought that the Tungsten C had 12MB of dynamic

Re: Dynamic Memory Issues:

2004-11-08 Thread Gary
Is the program dragging alot of data along with it? I bet it is...does NSBasic have any routines to read data from some external resource? BTW I believe you are looking at an effect of the jump-pointer size limit which limits how far one part of the program can be from another. I know this

Re: GCC __attribute__ to CodeWarrior

2004-11-08 Thread Ben Combee
At 06:07 PM 11/8/2004, you wrote: Hi, I'm porting some code from GCC to CodeWarrior. How Do I handle function definitions like this: int Init(void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *) __attribute__ ((section (prog))); void Main(void *)

Re: GCC __attribute__ to CodeWarrior

2004-11-08 Thread Peter Easton
Thanks Ben. Digging deeper, my problems extend further. The function below exist in a .s 68K assembly file. How do I add these files to my project? Peter Peter Easton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I'm porting some code from GCC to CodeWarrior. How Do I

Re: GCC __attribute__ to CodeWarrior

2004-11-08 Thread Ben Combee
At 07:05 PM 11/8/2004, you wrote: Thanks Ben. Digging deeper, my problems extend further. The function below exist in a .s 68K assembly file. How do I add these files to my project? CodeWarrior can't build .s files which are gas-format assembly files; it only supports inline assembly within C

Re: Dynamic Memory Issues:

2004-11-08 Thread oaklandgrrl
H... I hadn't heard about the jump pointer size thing. Yes, you are correct, it is very data intensive even with the external library. I'm really quite *!^ frustrated. Thank you for the response. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Dynamic Memory Issues:

2004-11-08 Thread Ben Combee
At 06:11 PM 11/8/2004, you wrote: I have been working on a project using NSBasic for quite sometime. I am using a Tungsten C, (OS 5.2.1). The project is 566k. When I go beyond this, the program began to act erratically, i.e., it did not respond correctly to routines. I had thought that the

Re: Dynamic Memory Issues:

2004-11-08 Thread Douglas Handy
Ben, In particular, Palm OS doesn't like you using form IDs that are larger than ; the range from 1 and up is reserved for system use only. And NSB/Palm uses the paradigm where it assigns unique object IDs across the whole project, instead of just within a given form. So on projects