Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

PalmOS problem with UIAppShell

4: Adsense

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   

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!!!




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.