Jump to content

  • Log In with Google      Sign In   
  • Create Account


PalmOS problem with UIAppShell


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 bobatefrei   Members   -  Reputation: 122

Like
Likes
Like

Posted 24 July 2001 - 02:56 AM

When I call five or six times this function: Boolean SendTextToField(char *str, FieldType *field) { char *ptr; UInt16 length = StrLen(str)+1; VoidHand text_h = FldGetTextHandle(field); FldSetTextHandle(field, NULL); if(text_h) FldFreeMemory(field); text_h = MemHandleNew(length); if(text_h == 0) return 0; ptr = MemHandleLock(text_h); if(ptr) { MemMove(ptr, str, length); ptr[length] = ''\0''; MemHandleUnlock(text_h); } FldSetTextHandle(field, text_h); FldDrawField(field); return 1; }//void SendTextToField() It causes a strange bug: when the user exit my program, I have this error: <>. HELP ME, PLEASE!!!

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS