RE: Receiving data

2005-10-14 Thread Jeffry Loucks
Returns 0 if the socket is closed, else -1 (error) or 0 for number of bytes received. Jeff Loucks Work 425-284-1128 [EMAIL PROTECTED] Home 253-851-8908 [EMAIL PROTECTED] Mobile 253-691-8812 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: Receiving data

2005-10-14 Thread kiranp
Hi Jeff, Thanks for your reply. Can you please tell me when I get -1 and netErrWouldBlock .. after receiving the data, does that mean its the end of data? no more data available to read? Returns 0 if the socket is closed, else -1 (error) or 0 for number of bytes received. what error it

RE: Receiving data

2005-10-14 Thread Jeffry Loucks
On a stream socket, the data never ends. Keep reading until you get all the data you expect (if you know the length), or until the socket is closed. For example, if you connect to a service that sends packets of known length, read the socket until you have received a complete packet, and then

Re: Receiving data

2005-10-14 Thread Logan Shaw
[EMAIL PROTECTED] wrote: Can you please tell me when I get -1 and netErrWouldBlock .. after receiving the data, does that mean its the end of data? no more data available to read? netErrWouldBlock means the system's network receive buffer is empty for that socket. There might be more data

Starting Card Files Into The Default Apps

2005-10-14 Thread Ilia Mandev
Hi all! I want to open card files in the default application. Here is what I've done so far: - html files open properly in Blazer with sysAppLaunchCmdGoToURL and file:///DRIVE/PATH/NAME url. - all other files are handled through local exchange, but lots of problems arise: 1. The

Re: Form Loading Problem

2005-10-14 Thread Del Ventruella
The c file code follows. The rcp file code comes after that: /* * PSEDAT.c * * main file for PSEDAT * * This wizard-generated code is based on code adapted from the * stationery files distributed as part of the Palm OS SDK 4.0. * * Copyright (c) 1999-2000 Palm, Inc. or its subsidiaries.

Re: Form Loading Problem

2005-10-14 Thread Robert Moynihan
Del Ventruella wrote: The c file code follows. The rcp file code comes after that: snip FORM ID TransformerForm AT ( 0 0 160 160 ) NOFRAME MENUID DataEntryMenu BEGIN TITLE Transformer - PSEDAT BUTTON OK ID XFMROKButton AT (62 137 40 12) LABEL New Label ID kVA AT (57 58) END

How to create menu dynamically?

2005-10-14 Thread amitmissu_2004
Hi I want to create menu dynamically, in which i can put some menus depending on conditions. Also i want to chane the caption of one menu frequently. For ex. Current Date. How can i do it? Thanks in advance Regards Amit -- For information on using the PalmSource Developer Forums, or to

Re: Form Loading Problem

2005-10-14 Thread Del Ventruella
Thank you. (I somehow thought that was a field, but you were, of course, correct.) The compiler now requires a Graffiti state indicator for this editable field. I did read an article a couple of years ago on Palm programming that indicated that this was required if one wished to enable pen

Re: How to create menu dynamically?

2005-10-14 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: Hi I want to create menu dynamically, in which i can put some menus depending on conditions. Also i want to chane the caption of one menu frequently. For ex. Current Date. How can i do it? You'll probably be wanting to look up the MenuAddItem() command in the

Re: Form Loading Problem

2005-10-14 Thread Robert Moynihan
Del Ventruella wrote: Thank you. (I somehow thought that was a field, but you were, of course, correct.) The compiler now requires a Graffiti state indicator for this editable field. I did read an article a couple of years ago on Palm programming that indicated that this was required if one

Re: multiple segments

2005-10-14 Thread Dave Carrigan
On Thu, Oct 13, 2005 at 05:23:42PM -, Troy Lokitz wrote: For some reason, it is crashing when it tries to get an event. It compiles ok (no coderes errors) but i can't get it to stop crashing. It would help if you provided any errors you received when it crashed. 1) does a section have

RE:Compressing records with Lz77

2005-10-14 Thread Tam Hanna
Hi, What about using zlib? Almost every Palm OS user has it and it is free to use AFAIK! I would not use an undocumented API as it can change very very fast! Best regards Tam Hanna http://www.tamoggemon.com Subject: Compressing records with Lz77 From: Trevor MacPhail [EMAIL PROTECTED] Date: Wed,

Re: Form Loading Problem

2005-10-14 Thread Del Ventruella
I appreciate your input, but I have come to some conclusions, which may be erroneous, but seem to fit what I'm running into. 1. The Graffiti state indicator can be added in PILRC by selecting what looks like an innocuous up arrowed control symbol. (The article I read was right. You add it

Re: Form Loading Problem

2005-10-14 Thread Del Ventruella
When I attempt to use the field changing routine, I get the attached screen output, which places the application screen name to the right of the field whose text I am attempting to alter. - Original Message - From: Robert Moynihan [EMAIL PROTECTED] To: Palm Developer Forum

Re: Compressing records with Lz77

2005-10-14 Thread Michal Seliga
as i look to palmone sdk i see that lz77mgr is not supported on zire handhelds and many others so it isn't good choice my advise is to use zlib instead (and you may also add prcfile to your application so user can install it if he miss it...) Tam Hanna wrote: Hi, What about using zlib?

creating a super list - custom list and search

2005-10-14 Thread ejc9
I would like to create a super list for my application. I want to use custom draw (as the list is populated from a DB and could be quite long) but I also want to be able to search by entering the first few characters. I thought I could create my own popup box with a custom list or table but I'm

GSM.c, Line: 2236, Serial break condition occured (indicating FW crash)

2005-10-14 Thread Andrew
I tried to find a user support forum, but it looks like there is only one for developers, so I will risk asking here. I have a Cingular Treo 650 with Firmware 01.31 and software Treo650-1.15-CNG and hardware A. When I connect the treo 650 to my laptop via bluetooth and start bringing home

How to insert text in field problem

2005-10-14 Thread Del Ventruella
I am using the following to try to induce some text to appear in a field on a form that is not the main form for the application. This works on the main form. It doesn't work on a form that is subsequently created through a menu selection from the main form. (The second form does appear,

Re: creating a super list - custom list and search

2005-10-14 Thread Logan Shaw
[EMAIL PROTECTED] wrote: I would like to create a super list for my application. I want to use custom draw (as the list is populated from a DB and could be quite long) but I also want to be able to search by entering the first few characters. Ah, can't do both of those with the built-in list

Re: How to insert text in field problem

2005-10-14 Thread Del Ventruella
Just in case anyone was considering a response to this. I used FrmGotoForm(), instead of FrmInitForm(), to call the second form, and the emulator permitted me to assign text to a field on the non-main form. FrmInitForm() continued to work to induce the about form to appear when called from the

Re: How to insert text in field problem

2005-10-14 Thread Logan Shaw
Del Ventruella wrote: Just in case anyone was considering a response to this. I used FrmGotoForm(), instead of FrmInitForm(), to call the second form, and the emulator permitted me to assign text to a field on the non-main form. FrmInitForm() continued to work to induce the about form to

Re: Receiving data

2005-10-14 Thread kiranp
Hi All, thanks a lot, it helped me a lot. .. KiraN Puranik -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/