On Mon, 26 Nov 2001, Dave Mottorn wrote:

> That worked.  I thought FldGetTextPtr returned a locked pointer.  How
> does it get unlocked?

It does.  Perhaps the OS handles it internally (unlocking when you return
to the event loop or something).

> Is there a better reference available than what I'm using?  I'm working
> on a very simple application but I'm pretty well committed to do some
> things that are a lot more complicated.

I'm personally using a combination of the Palm OS Bible, the Palm OS
Reference, and ORA's Palm programming book.  I've recently run into
problems that were caused by sample code in books not being totally
correct (not handling specific cases that you'd think would be common), so
that's where the reference comes in handy.  It was also discovered by
trial and error, so that's still a good way to learn.

My specific case of the incomplete sample code had to do with NetLibOpen
and the sample code I read not handling the netErrAlreadyOpen error code
(one of those "not really an error but let's return something different
anyway" things).  I did the same as the sample and was suddenly getting
errors when my program opened the network library when the network
connection was already active. 

----------------------------------------------------------------------
Brian Smith  //   [EMAIL PROTECTED]   //  http://www.arthurian.nu/
Software Developer  //  Gamer  //  Webmaster  //  System Administrator
Bumper sticker: If you can read this, I can hit my brakes and sue you.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to