05-13-2014 04:19 AM
I am getting ERROR: Context: Object name=" "ForeignWindow" " [objectId= 24 ] not unrealized error when exiting the app.
Didn't get any refernce why i am getting this error.
Can any one give me suggestion on it?
05-13-2014 04:34 AM
05-13-2014 05:21 AM
i am closing all sheets which r using in app on exit the app and also releasing all the pointers
i got "cleaning up on exit" in log and after that getting ERROR: Context: Object name=" "ForeignWindow" " [objectId= 24 ] not unrealized.
05-14-2014 02:52 AM
It could be internal to the Cascade code, as long as you have checked to see that you are parenting all the objects you create and are freeing all the objects not parented it should be fine to ignore this.
05-14-2014 03:13 AM
Not sure that I really understand you questions, sorry.
There's nothing you can do about the BlackBerry Library clean up and the messages it puts out on the console, but as I said as long as you have parented your objects correctly and properly cleaned up your own code then you should be able to exit safely.
If you are worried then one of several techniques I use is black box testing where I individually put each object in to a separate testing app for which its sole purpose is to create multiples of the same object, test all the public functions and then delete the object, I then look at the memory usage using Momentics Memory and Malloc information under the QNX System Information perspective.