Re: Re: IrDA problem under Palm OS5!

2003-12-08 Thread Aaron Ardiri
> Thank you for your advice,I'm trying to write a program for my Palm TT > to send or receive serial data from the IR port. unless you use IrDA framing, the UART3 on the OMAP processors wont let you send the data - simple. if you dont use IrDA framing, you cannot use IrDA raw mode. --- Aaron A

Re: Compiler bug? Index error switching from static const "char" to "Char"!

2003-12-08 Thread Greg Lutz
I've been watching the responses on this thread with some amazement, because so far, no one has noticed the essential problem: it's a compiler bug all right, for not rejecting the code out of hand! It's the first statement in the function that's wrong. Some choices for statements that would b

Re: Re: IrDA problem under Palm OS5!

2003-12-08 Thread Wang Xiaodong
Thank you for your advice,I'm trying to write a program for my Palm TT to send or receive serial data from the IR port. So I can make a connection between the Palm and PC. I really don't know how to do it! So my previous email may be unclear! Would you like to help me for giving me mo

One more try: T3 video frame buffer address when rotated...

2003-12-08 Thread Hildinger, Robert
Well, I thought I'd give it one more shot. Has anyone figured out how to obtain the address of the video frame buffer on a Tungsten T3 when it is in landscape mode? -Robert -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/f

Re: tick count in milliseconds

2003-12-08 Thread Steve Sabram
Ron Nicholson wrote: There is actually one other PalmOS "timer" that has a public API which might give one a resolution time higher than TimGetTicks(). Open a serial port at the highest allowed baud rate with no handshaking, and then keep the transmit buffer completely full. The amount of charac

Re: Question making graphical push button with PilRC

2003-12-08 Thread John Leung
Thanks for the info. I guess for now, I'll just have to deal with the warning messages. John On 8 Dec 2003 at 16:52, Ben Combee wrote: > At 04:31 PM 12/8/2003, John Leung wrote: > >I've just tried updating to PilRC 3.0 beta 4. Replaced the PilRC directory > >under the "CW for Palm OS Tools".

Re: Amt of Dynamic Memory to keep free

2003-12-08 Thread Richard Coutts
> Richard, the normal rule for these types of things is to assume you can't > really allocate very much dynamic heap at all, and so avoid it at all costs. > On OS3.0 devices with 2 Meg Ram, there's something like 44K of free Dynamic > Heap. It's virtually unlimited on the newest devices. Alan, th

Re: Question making graphical push button with PilRC

2003-12-08 Thread Ben Combee
At 04:31 PM 12/8/2003, John Leung wrote: I've just tried updating to PilRC 3.0 beta 4. Replaced the PilRC directory under the "CW for Palm OS Tools". I've also replaced the pilrc.exe in "bin/plugins/support/Palm_OS" directory. But it seems to have no effect. I'm still getting this warning mess

Re: Compiler bug? Index error switching from static const "char" to "Char"!

2003-12-08 Thread Dave Lasker
This is a prc-tools compiler bug, for which there are numerous references in the archive of this group. See http://sourceforge.net/tracker/index.php?func=detail&aid=221845&group_id=4429&atid=104429 for more info. Thanks... Dave "Hildinger, Robert" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

Re: Question making graphical push button with PilRC

2003-12-08 Thread John Leung
I've just tried updating to PilRC 3.0 beta 4. Replaced the PilRC directory under the "CW for Palm OS Tools". I've also replaced the pilrc.exe in "bin/plugins/support/Palm_OS" directory. But it seems to have no effect. I'm still getting this warning message! Any ideas? John On 8 Dec 2003

Re: Question making graphical push button with PilRC

2003-12-08 Thread Ben Combee
At 03:56 PM 12/8/2003, John Leung wrote: I'm trying to create a graphical push button in a form using the following: PUSHBUTTON "" ID TestPushButton AT (1 100 12 12) GRAPHICAL BITMAPID ImageBmp SELECTEDBITMAPID SelImageBmp GROUP 1 But everytime I compile the file under CW 9.2, I keep getting

Re: Known Errors

2003-12-08 Thread Ben Combee
At 03:53 PM 12/8/2003, Ken wrote: Hi, Is there a place on the palmone web page to see "known errors"? PalmOne's FAQ on this pluggedin.palmone.com site has some information, but no real errata section. For Palm OS in general, there's nothing other than the SDK documentation -- there are some ent

Question making graphical push button with PilRC

2003-12-08 Thread John Leung
I'm trying to create a graphical push button in a form using the following: PUSHBUTTON "" ID TestPushButton AT (1 100 12 12) GRAPHICAL BITMAPID ImageBmp SELECTEDBITMAPID SelImageBmp GROUP 1 But everytime I compile the file under CW 9.2, I keep getting the following warning message: "graphic

Known Errors

2003-12-08 Thread Ken
Hi, Is there a place on the palmone web page to see "known errors"? Thanks, Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: tick count in milliseconds

2003-12-08 Thread Ron Nicholson
There is actually one other PalmOS "timer" that has a public API which might give one a resolution time higher than TimGetTicks(). Open a serial port at the highest allowed baud rate with no handshaking, and then keep the transmit buffer completely full. The amount of characters sent may give you

Re: copying pdb file from device to PC

2003-12-08 Thread Arrow
...as per the previous posts, in your Palm app, set the backup attribute, after a hotsync, you should see the .PDB in your Palm\username\Backup directory. If you wrote a conduit already to read in the pdb records and do something with them (the .PDB being of type 'DATA'), then you would also have

Re: Compiler bug? Index error switching from static const "char" to "Char"!

2003-12-08 Thread Hildinger, Robert
"Gregg Woodcock" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Hildinger, Robert" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > "Gregg Woodcock" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > This must be a compiler bug. A "Char" is typedef'

Re: tick count in milliseconds

2003-12-08 Thread Hildinger, Robert
"Surendra" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am currently using TimGetTicks(), Is there any other function call or a > method to get the tick counts in 1/1000 of second. > Unfortunately there isn't. This is, in my opinion, an area that could be greatly improved in the

Re: Heap memory sizes?

2003-12-08 Thread Alan Ingleby
The worst case you should plan for is about 44K on an OS3.0, 2 Meg device. Alan "Laurens" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I should add that I mean the dynamic heap, not the storage heap. > > Interestingly when I run a test program to obtain heap sizes on my M130's > R

Re: Amt of Dynamic Memory to keep free

2003-12-08 Thread Alan Ingleby
Richard, the normal rule for these types of things is to assume you can't really allocate very much dynamic heap at all, and so avoid it at all costs. On OS3.0 devices with 2 Meg Ram, there's something like 44K of free Dynamic Heap. It's virtually unlimited on the newest devices. Alan "Richard C

Amt of Dynamic Memory to keep free

2003-12-08 Thread Richard Coutts
Before allocating dynamic memory I do a check to insure that there's enough memory to allocate and still leave some left over for the system and the app. My question is: Is there a rule of thumb as to how much Dynamic Memory to keep free? E.g., 10% of total available on the device? I have a limi

Re: Compiler bug? Index error switching from static const "char" to "Char"!

2003-12-08 Thread Gregg Woodcock
"Gregg Woodcock" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Please note that in all the FrmCustomAlert calls, I forgot to add the third > string varaible which I intended to be ">". MY BAD!!! It has nothing to do with "char" -> "Char" but rather with "char" -> "static const ch

Re: exceptions in Palmos5

2003-12-08 Thread Matthew Henry
"Yona Dolev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I transferred me Palmos4 app. to PalmOs5, Some of the exceptions work but > most of them crash - especially during connectivity. > Can anyone help? > Assuming I understand your question... Are you using the debug si

TungstenC Serial port disabling itself.

2003-12-08 Thread Brad Figler
All, I am posting this to both the comm-dev-forum and to palm-dev because it has relevant issues both relating to the operating system in general and to the serial communications, specifically on the TungstenC. PROBLEM: Our software communicates with a our own proprietary hardware device via t

RE: copying pdb file from device to PC

2003-12-08 Thread Barnett, Phil R
Like Pascal stated, you can set the backup bit. Then Hotsync will move the file to your PC for you. Then, you are faced with how to open the PDB file on a PC to see it's contents. I have found a lot of utilities to view a PDB, but the most generic one I've found is PDBingo. -Original Message

Re: Compiler bug? Index error switching from static const "char" to "Char"!

2003-12-08 Thread Gregg Woodcock
"Hildinger, Robert" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Gregg Woodcock" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > This must be a compiler bug. A "Char" is typedef'd to be equivalent to a > "char" in PalmTypes.h, so naturally you would expect there to

Re: Compiler bug? Index error switching from static const "char" to "Char"!

2003-12-08 Thread Hildinger, Robert
"Gregg Woodcock" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am trying to be a GoodCoder (TM) and did a global replace to conform to > the Palm standard data type naming convention (e.g. "int" -> "Int16", etc.). > I use cygwin/GCC and have encountered a strange bug after this co

Re: copying pdb file from device to PC

2003-12-08 Thread Surendra
Hi, Do I have to write an application to transfer a file from device to PC ? I am looking for a simple tool or procedure to transfer a pdb file from device to PC. Thanks Suren "Barnett, Phil R" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Create a conduit. There is an API av

Re: copying pdb file from device to PC

2003-12-08 Thread Pascal Levy
> Create a conduit. Or set the backup bit of the underlying database so that it is automatically transferred to the user's backup directory at hotsync. Then, you'll need this tool to convert your stream database to a flat file : http://www.djw.org/product/palm/par/ Pascal -- For information

RE: copying pdb file from device to PC

2003-12-08 Thread Barnett, Phil R
Create a conduit. There is an API available from Palm. http://www.palmos.com/dev/support/docs/conduits/win/CRef_CnAPI.html -Original Message- From: Surendra [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 12:32 PM To: Palm Developer Forum Subject: copying pdb file from device

ExgMgr fails

2003-12-08 Thread Ricardo Marques
Hi. I developed an app which is suposed to send a database, from the pda (palm m515), to a PC after the user as selected the file and device. I construct the url _btobex://xx:xx:xx:xx:xx:xx/foo.pdb and do the following : /*** *

copying pdb file from device to PC

2003-12-08 Thread Surendra
Hi, In my application I am writing some data to a file created using FileOpen() API call. I want to compare this data with another file on my PC running XP. How to transfer (manually) a pdb file from device to PC? Thanks in advance Suren -- For information on using the Palm Developer Forums,

tick count in milliseconds

2003-12-08 Thread Surendra
Hi , I have an application that depends on the system tick count for its internal operation. This application was orignally developed in Win32 where the system tick count is updated 1000 times a second. In PalmOS the tick count is updated 100 times a second. This is causing my application behave d

Re: Linking problem with static library

2003-12-08 Thread Ben Combee
At 06:55 AM 12/8/2003, Marcel wrote: Hi. I have compiled a static library which uses the MSL library (specifically the "strtol" function in "stdlib.h"). The compile-process and the linking went fine. Now I would like to link this new library to another application. But when I build that applicatio

Re: Compiler bug? Index error switching from static const "char" to "Char"!

2003-12-08 Thread Gregg Woodcock
Please note that in all the FrmCustomAlert calls, I forgot to add the third string varaible which I intended to be ">". -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Compiler bug? Index error switching from static const "char" to "Char"!

2003-12-08 Thread Gregg Woodcock
I am trying to be a GoodCoder (TM) and did a global replace to conform to the Palm standard data type naming convention (e.g. "int" -> "Int16", etc.). I use cygwin/GCC and have encountered a strange bug after this conversion. Please don't ask why I am doing it this way because really I'm not; this

Re: Garmin iQue3600 can't be set to fullscreen ?

2003-12-08 Thread Jan Slodicka
Hello, we had the same problem and finally gave up accepting the screen height less than 480. Maybe 460 - I don't remember. Jan Slodicka - Original Message - From: "Chris Apers" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Sunday, December 07, 2003 1:55 PM Sub

Advanced sound question

2003-12-08 Thread Laszlo Kesmarki
Hi, We have just run into a possible compatibility problem with advanced sound. It seems that playing music/sound using SndStreamCreate/SndStreamStart works fine at 22khz/44khz on Tungsten T, while 22khz is noisy on Zire71 / TungstenE (44khz is fine). The used sample format is always sndInt16Litt

Re: Garmin iQue3600 can't be set to fullscreen ?

2003-12-08 Thread Hildinger, Robert
"Chris Apers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > When i try to set iQue3600 to fullscreen (DIA fully opened), > i can't remove the status line, is this a limitation of this device ? > It appears to be. It looks like Garmin used the earliest version 1.0 of the PIN

Re: IrDA problem under Palm OS5!

2003-12-08 Thread Dave Lippincott
Log into the PluggedIn program on the PalmOne site, look in the FAQ for details. (Basically, IR Raw mode is not supported on any of the OMAP processor equipped units.) Can you use the APIs available for IR communication or is there some specific reason you need to Raw mode? - Original Message

Re: Preventing app exit

2003-12-08 Thread Dave Lippincott
Another idea I'd try is to look into building a custom ROM image sans the built-in apps. You use to be able to build custom ROM images with the Symbol SPT series units. Don't know if the option is still available. - Original Message - From: "Baxter" <[EMAIL PROTECTED]> Newsgroups: palm-

Re: Converting ASCII to Int

2003-12-08 Thread Dave Lippincott
There is no reason I can think of why it wouldn't work for any ASCII character, even the 'non-printable' ones. Can you give a couple of examples of which characters are not working for you? - Original Message - From: "Khurram" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTEC

Why can't I open a file on the device but it works fine on the emulator ?

2003-12-08 Thread Anders Rahm-Nilzon
Hi, I'm trying to open a file that a localized on the expansion card. On the emulator it works great but on the device(Zire71) it seams that it can't find the file. The path to the file is "/Palm/Launcher/photo.bmp" Do anyone have an answer to this problem ??? Please help me !!! Best Regards !!!

MemHandleUnlock not Succeeding on T2

2003-12-08 Thread Andrew Waites
Hi, I have a very wierd situation on code that has been working fine on OS4 and OS5.0 (T1). This little gem (being memory related ) is wonderfully transient but after loading up production code with lots of traces it looks increasingly like MemHandleUnlock calls are "sometimes" completing success

Converting ASCII to Int

2003-12-08 Thread Khurram
Hi, I want to get integer value of an ascii.Is there any function? Simple typecasting isnt working for characters other than a - z, A- Z and 0-9.What should i do? Regards Khuram Mir -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/s

Re: Palm devices supporting SSL

2003-12-08 Thread Philippe Fischer
Hi Rakesh, I have to connect a mobile phone to the Palm and I intend to do this via BT, so I've chosen the T3. Certainly the Treo 600 would be a good choice too but it's a bit expensive. Best regards Philippe - Original Message - From: "Rakesh Pai" <[EMAIL PROTECTED]> Newsgroups: palm-d

IrDA problem under Palm OS5!

2003-12-08 Thread Wang Xiaodong
Hi, I am trying to use the IrDA of Palm TT to communicate with serial port of PC which I have connected a Ir adapter to it! I did not install the Ir driver on PC because I want to know if it can work by this way! I don't know if it can work by using Raw IR under Palm OS5 . Many people have

Linking problem with static library

2003-12-08 Thread Marcel
Hi. I have compiled a static library which uses the MSL library (specifically the "strtol" function in "stdlib.h"). The compile-process and the linking went fine. Now I would like to link this new library to another application. But when I build that application, it results in a link error, sayin

Re: Palm devices supporting SSL

2003-12-08 Thread Rakesh Pai
Hi Philippe, Im not sure..but wouldnt the T C be a better buy? :-) . And the T3 doesnt have a built in camera like the Treo 600 , does it? ;-) Rakesh. "Philippe Fischer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Rakesh, > OK, I hope so. I 've ordered the new T T3 :-)

Is BT supported under PalmOS5?

2003-12-08 Thread BrownB
I get and read the PalmOS5 Companion 2, and where reading about Bt with Serial Manager, I found a "NOTE: Although the Palm OS supports Bluetooth connections, Bluetooth requires additional hardware and software that is not available as of this writing." Can I use Virtual Serial Driver for BT or must

Re: Borland CBuilderX

2003-12-08 Thread Jim Cooper
> Note that the SDK is still based on PRC Tools. The SDK in that download is the PalmOS 4 SDK. The compiler/debugger/resource compiler etc are the prc-tools collection. You may find that if you have either of those already installed, the installation will fail, in which case you will need to unz

Re: Palm devices supporting SSL

2003-12-08 Thread Philippe Fischer
Hi Rakesh, OK, I hope so. I 've ordered the new T T3 :-) Regards Philippe Am Montag, 8. Dezember 2003 08:44 schrieben Sie: > Hi Philippe, > Yes they do.Im using the Treo 600 which is running Palm OS 5.2. > SSL works fine on it. > > Rakesh. > > "Philippe Fischer" <[EMAIL PROTECTED]> wrote in

Re: ssl error

2003-12-08 Thread Philippe Fischer
Hi Rakesh, with the callbacks installed the SSL part of my app works fine, but I think adding a certificate to the trusted cert store would be much nicer and much more secure. Thanx Philippe Am Montag, 8. Dezember 2003 08:39 schrieben Sie: > Hi Philippe, > Have u tried ignoring these errors by

Re: Heap memory sizes?

2003-12-08 Thread Laurens
I should add that I mean the dynamic heap, not the storage heap. Interestingly when I run a test program to obtain heap sizes on my M130's ROM image I get the following values: id: 0, size: 249kb id: 1, size: 7935kb id: 2, size: 3199kb I assume the first heap is the dynamic heap, the second the

Heap memory sizes?

2003-12-08 Thread Laurens
Hi, Is there a table available that lists recent OS5 devices and their available heap memory? The Palm OS documentation still states 184Kb for OS 3.5+ devices (w/ 8Mb RAM) but I know that the latest devices have much more heap memory than that. Thanks -Laurens -- For information on using th

Palm OS 5.0 onwards feature list?

2003-12-08 Thread Rakesh Pai
Hi, Can anyone point me towards a detailed feature list of Palm OS 5.0. Details about socket rescriptions, multithreading, etc. Rakesh. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Palm devices supporting SSL

2003-12-08 Thread Rakesh Pai
Hi Philippe, Yes they do.Im using the Treo 600 which is running Palm OS 5.2. SSL works fine on it. Rakesh. "Philippe Fischer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello everyone, > did anyone can tell me if all PalmOS5.2.1 devices supports SSL? Cause I > don't want to mak

Re: SslRead failed??

2003-12-08 Thread Rakesh Pai
Hi Aaron, If the routine works fine the first time, u cud try using the same 'context' twice by opening a new 'session' after ur done with the first request/response. There is a performance overhead in calling the routine twice with the library being loaded again,etc. Rakesh. -- For informat

Re: ssl error

2003-12-08 Thread Rakesh Pai
Hi Philippe, Have u tried ignoring these errors by installing the callbacks? I have faced the same problem, but had no problems after ignoring them. Rakesh. "Philippe Fischer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello dear Developper Forum, > I'm trying to establish a SS