Thanks Ben for taking a look. Here are the answer for your question.

Do you mean deleting the object?
------------Yes

Is this a global object or one allocated on the heap?
------------ global object

The address error you're seeing usually means memory is being being accessed through a pointer that doesn't contain a valid value.
------------ Well, I checked that and I am sure that the object was not deleted. In fact, the error occurs in the destructor method for the object - so there is no chance for that I believe. Is there any other reason you can think of?


Thanks,
Jenni




----- Original Message ----- From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, October 15, 2004 11:41 AM
Subject: Re: Address error



At 10:56 AM 10/15/2004, you wrote:
Hello,

I am getting the following address error when quitting my application. I found out that the error occurs when removing an object. I have used the object throughout the program and didn't have any problem. Does anybody have any idea/guess what could be the problem?

Do you mean deleting the object? Is this a global object or one allocated on the heap? The address error you're seeing usually means memory is being being accessed through a pointer that doesn't contain a valid value.


-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Fourm Archives:   http://news.palmos.com/read/all_forums/



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



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

Reply via email to