> On Tue, 01 Feb 2005 23:59:04 -0200, AyloNs Hazzud <[EMAIL PROTECTED]> wrote:
>> IÂm really in trouble when dinamically creating fields inside tables:
>>
>> Every time I add text to the field, my emulator complains twice about
>> reading in low memory (first reading the 0x000002 and them 0x000000,
>> the  same address every time). What am I doing wrong? At the load
>> procedure,  I associate a dymanic memhandle to the field (using the
>> memhandle sent  to the function to do this), which has surely enough
>> room for the field  text.

AyloNs Hazzud wrote:
> Nobody can help me? IÂve tried to undestand how the Address Book and
> Date  Book deal with it for over a week, but I canÂt see any code that
> prevents  the first error to occurs (palm emulator with a palm OS 4 ROM).
> 
> Or is just my english so poor that nobody realizes what IÂm talking about?

Your English isn't perfect, but it's good enough to get across the idea.

The problem is that you didn't give very much information.  You didn't
give any code.  You just said something really vague and general.  I
have a function that does the same thing you describe (use a MemHandle
to change the contents of a field) in my own code, and it works just
fine.  So, what can I tell you?  I don't know what you're doing
differently, so I can't say what the problem is.

If I had to guess, I would say that if you're getting warned about
accessing 0x000000 and 0x000002, then you're probably dereferencing
a NULL pointer.  But that is just a guess.

  - Logan

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

Reply via email to