Invalid Field Length

2001-03-02 Thread Torihana Arukas
problem. Typing when there is no focus on edit ctrl and then setting focus to edit ctrl and the typing causes "Invalid field length" error. On codewarrior, stack shows like this. MainFormHandleEvent(EventType*) (my default form handler function..) 0x10C6ABC4( FrmHandleEvent ) (I called this t

FldDrawField causes Invalid Field Length error

2006-10-17 Thread trevor
I'm writing a background application which listens for field input in other apps and then edits the field. The following code gives an "Invalid Field Length" error after calling FldDrawField(). Am I doing anything wrong? FieldType* fldP = field ptr Char* fullString = null te

inserting '\n' and "invalid field length" error

2004-05-12 Thread Sinoptic
Hello, I found that inserting any symbols with "\n:" in a field by using "FldInsert" function gives me "invalid field length" error in debugging POS Simulator, sometimes it crashes. However, If I insert the same symbols without '\n' everything is fin

re: FldDrawField causes Invalid Field Length error

2006-10-18 Thread trevor
Anyone know of a fix for this problem? Thanks. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: FldDrawField causes Invalid Field Length error

2006-10-18 Thread Ben Combee
On 10/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I'm writing a background application which listens for field input in other apps and then edits the field. The following code gives an "Invalid Field Length" error after calling FldDrawField(). Am I doing anyth

Re: FldDrawField causes Invalid Field Length error

2006-10-18 Thread trevor
Thanks for the response. However, calling FldRecalculateField gives the same "Invalid Field Length" error. After the simulator had reset, I noticed that the text replacement had occurred when I went back into the MemoPad app. My app listens for any string such as "[a]"

Re: FldDrawField causes Invalid Field Length error

2006-10-18 Thread Ton van Overbeek
> On 2006-10-17, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > I'm writing a background application which listens for field input in other > apps and then edits the field. The following code gives an "Invalid > Field Length" error after calling FldDr

Re: FldDrawField causes Invalid Field Length error

2006-10-18 Thread trevor
Ok, that fixed the "Invalid Field Length" error. However, I'm now faced with a memory leak: systemmgr.c, Line:4397, Minor error while exiting app: un-freed chunk at 0x00F02C30, size 44 (ownerID 3) Since my background app is a sublaunch of MemoPad, it seems to detect the memory

Re: FldDrawField causes Invalid Field Length error

2006-10-18 Thread trevor
Here is some more information regarding my app which may be helpful in determining the problem. My app gets notified of any sysNotifyEventDequeuedEvent, and if it's an event dealing with a fldEnterEvent or tblSelectEvent, the app launches itself to deal with the event. Since my app is multi-seg

Re: FldDrawField causes Invalid Field Length error

2006-10-20 Thread Barry Jaques
Trevor, I am almost finished a project which needs to sublaunch MemoPad and I had a lot of trouble with memory leaks in fields. You really need to write a routine to clear every field when exiting your project, for example here is one field, static void ActionCleanUp (void) { Char * ptr; Fi

Re: inserting '\n' and "invalid field length" error

2004-05-12 Thread Ben Combee
At 03:54 AM 5/12/2004, you wrote: Hello, I found that inserting any symbols with "\n:" in a field by using "FldInsert" function gives me "invalid field length" error in debugging POS Simulator, sometimes it crashes. However, If I insert the same symbols without