Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!


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