RE: Receiving data

2005-10-13 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 repe

RE: Receiving data

2005-10-13 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

RE: Receiving data

2005-10-13 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:

Receiving data

2005-10-13 Thread kiranp
Hi All, I have socket in non blocking mode ... I get netErrWouldBlock when I try to read the data using NetLibReceive() .. its ok .. coz that time the data might not available. But after receiving some chunks of data, it again starts giving "netErrWouldBlock" .. is that mean the data is finish

Re: Form Loading Problem

2005-10-13 Thread Robert Moynihan
Del Ventruella wrote: Basically, as far as I can tell (allowing for the fact that my emulator seems to produce some screen artifacts and to not update properly) the code does absolutely nothing. There is a screen response, but after the blurred area appears near the top, nothing. Is the "Tra

Selector trigger in table

2005-10-13 Thread moulieswaran_e
I am trying to draw selector trigger in table to pick the date. I have used the below mentioned code: TblSetItemStyle (table, row, editDataColumn, customTableItem); TblSetItemInt (table, row, editDataColumn, fieldIndex); TblSetCustomDrawProcedure(table,editDataColumn,DrawCustomT

Re: Form Loading Problem

2005-10-13 Thread Del Ventruella
Basically, as far as I can tell (allowing for the fact that my emulator seems to produce some screen artifacts and to not update properly) the code does absolutely nothing. There is a screen response, but after the blurred area appears near the top, nothing. One othere question (please): I am st

Re: Form Loading Problem

2005-10-13 Thread Robert Moynihan
Del Ventruella wrote: Thanks. I gave it a try. Still no success. What happens then? Does the form popup with nothing in the field, or are you saying that you get a crash? Try boiling down your function to just the bare essentials, and once you get it working you can add back in the oth

Re: Form Loading Problem

2005-10-13 Thread Del Ventruella
Thanks. I gave it a try. Still no success. The following is my attempt to call your function from a menu (with a few artifacts from a prior attempt to call : SetFieldTextFromStr(field, pText, redraw)). This doesn't save anything, it is merely a placeholder for what I eventually hope to do, which

Re: Form Loading Problem

2005-10-13 Thread Robert Moynihan
Del Ventruella wrote: I have the "about" form loading now. I still need to know how to get a text string (char*) to load and display in a field on a form. This is what I use.. Bob void mySetFieldText(FormType *frmP, UInt16 fieldID, Char *st) { FieldType*fldP; MemHandletextH;

Re: Form Loading Problem

2005-10-13 Thread Del Ventruella
I have the "about" form loading now. I still need to know how to get a text string (char*) to load and display in a field on a form. Thanks. - Original Message - From: "Del Ventruella" <[EMAIL PROTECTED]> To: "Palm Developer Forum" Sent: Thursday, October 13, 2005 12:55 PM Subject: Form

Re: NVFS device details Re: Bigger dynamic heap for T|T and T2 - solution

2005-10-13 Thread Henk Jonas
Frantisek Dufka wrote: It all depends on memory layout. I don't have those devices. Download the tool, press system info and see list of heaps or regions. If palm engineers were so clever that they packed heap and storage virtual adresses next to each other and there are no holes in address s

Re: multiple segments - saga continues

2005-10-13 Thread Robert Moynihan
Troy Lokitz wrote: I am still playing around with this. I can get it to compile fine (i setup an additional segment). But when one of the functions in the new segment are called, it crashes. Does this issue sound familiar to anyone? Are you calling that function in response to a 'sysApp

multiple segments - saga continues

2005-10-13 Thread Troy Lokitz
I am still playing around with this. I can get it to compile fine (i setup an additional segment). But when one of the functions in the new segment are called, it crashes. Does this issue sound familiar to anyone? -- For information on using the PalmSource Developer Forums, or to unsubscribe,

Form Loading Problem

2005-10-13 Thread Del Ventruella
I used PILRIC to generate a basic application. I have tried to mimic its form loading process to load a second form (not an about form but a form with handling code), and succeeded. I tried to get the "about" form to load from the second form (which I had created) through a menu option, and

multiple segments

2005-10-13 Thread Troy Lokitz
I started getting the coderes errors, so i setup a sections.h and sections.def file i also setup a section_1 I kept most of the functions in main.c (app handle event stuff) in the default section and setup a bunch of other c files/functions (called from main.c with section_1. For some reason,

RE: List Server Error

2005-10-13 Thread David Birdsall
:-O ! Yes it looks like there's a problem! Look at all that lovely SQL! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Del Ventruella Sent: 13 October 2005 15:01 To: Palm Developer Forum Subject: List Server Error I'm getting the following when I attempt t

List Server Error

2005-10-13 Thread Del Ventruella
I'm getting the following when I attempt to access the Palm Developer Forum, am I the only one? It is recurrent. TclProc_sqlexecute failed because SqlExecute threw a SqlClassException: -- SQL error reported from Lyris functio

Re: Databases

2005-10-13 Thread Del Ventruella
Oh, add battery life limitations to the tablet PC obstacles. - Original Message - From: "Del Ventruella" <[EMAIL PROTECTED]> To: "Palm Developer Forum" Sent: Thursday, October 13, 2005 8:35 AM Subject: Re: Databases > I appreciate your comments. I have no desktop app. to "port". Ther

Re: Databases

2005-10-13 Thread Del Ventruella
I appreciate your comments. I have no desktop app. to "port". There are few good solutions to what I am trying to do. 1. Use a pen and a pad of paper, then re-enter data later. 2. Use a PDA, and deal with Graffiti. 3. Use a tablet computer, and deal with a larger device that is less portable

Re: NVFS device details Re: Bigger dynamic heap for T|T and T2 - solution

2005-10-13 Thread Michal Seliga
Frantisek Dufka wrote: > BTW how FtrPtrNew work on NVFS devices? Is such memory allocated from > NVFS cache or is there separate area for this? from NVFS cache -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Databases

2005-10-13 Thread Jim Cooper
3. If one is going to create a program that creates large databases, memory cards are the way to go? One should first think whether large databases are really necessary, or whether a clever syncing/data transfer strategy might not be better. PDAs are devices with small displays that are har

voice memos syncronization failed

2005-10-13 Thread pritam hasabnis
Hello EB, I want to sync voice memo records to desktop and want to delete the files on handheld from desktop. voice memo conduit gets synchronized and transfer the voice memo record to desktop for first Time. But if I have deleted some files on desktop and try to synchronized ( Desktop overwrit

Fonts too tall on Treo 650

2005-10-13 Thread Kristian Austad
This is really strange... Anyone else experienced this? Is it a bug in Treo 650? What happens is the custom fonts I've made in 72 and 144 resolution show up with double height on the Treo 650. It seems FntCharHeight() returns the height of the 144 font, not the 72, as is the case all other model

RE: Reading phone/data signal levels on Treo 600 and Treo 650

2005-10-13 Thread Ilia Mandev
Big thanks!!! Best, Ilia. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

NVFS device details Re: Bigger dynamic heap for T|T and T2 - solution

2005-10-13 Thread Frantisek Dufka
It all depends on memory layout. I don't have those devices. Download the tool, press system info and see list of heaps or regions. If palm engineers were so clever that they packed heap and storage virtual adresses next to each other and there are no holes in address space before or after hea

Re: Bigger dynamic heap for T|T and T2 - solution

2005-10-13 Thread Henk Jonas
Frantisek Dufka wrote: Hello, http://fanoush.webpark.cz/palm/fhr.html Please test it if you are interested. If you are author of game/program that needs more dynamic heap you can suggest it to your customers with T and T2 (provided you tested it and found it is useful and stable :-) Let me

Re: Initiating a phone call (dialing) programmatically on the Treo 600

2005-10-13 Thread Michal Seliga
so ignore my mail i sent exactly the same thing as Jeffry (i didn't noticed that replies are in separate thread) -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Initiating a phone call (dialing) programmatically on the Treo 600

2005-10-13 Thread Michal Seliga
try to use dialing using notofications,it worked for me on tungsten t5 bool DialPhone(char *number, char *displayedName) { SysNotifyParamType param; HelperNotifyEventType details; HelperNotifyExecuteType execute; Err err; bool ok; MemSet(¶m,sizeof(S