On Wed, 1 Mar 2006 23:51:37 +1100, "Alan Ingleby"
<[EMAIL PROTECTED]> wrote:


>You should be storing Handles in your linked list,  then locking them
>to get the next node not pointers.

Yes, I can see that. Thanks for the tip.

>
>If this is all too hard for you, just stop using handles altogether. 
>Just use MemPtrNew and MemPtrFree.   Newer devices have a fair amount
>of memory.

- but older doesn't. I think I will stick to the safe, recommented
way. Hey, I have two older Palms myself with 2 megs. If I cannot run
my own programs on my own hardware, then there's no point in making my
own progs. ... :-)

>Another suggestion may be to switch to using C++, then you can
>abstract away the memory handling (whichever way you chose to do it). 
><- this would be my preference, altough I've never really used linked
>lists much.

Well, I am pretty familiar with C. I know the basics of C++, but have
never really used it. Also, my compiler of choice is OnBoardC, so...
:-)

Thank you very much for taken the time to guide me.

Thomas


==============================================================
>Alan
>
>On 3/1/06, Thomas L. Christensen <[EMAIL PROTECTED]> wrote:
>> Hi
>>
>> I have written a few Palm OS programs, but I'm no great programmer.
>> Now I'm trying to make a simple card game. I want to save all cards in

snip


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

Reply via email to