le 17/06/03 10:51, apple k � [EMAIL PROTECTED] a �crit�:

> Hi,
> 
> I encountered the same problem as previous post. I
> wonder the level of sensitivity of the emulator to any
> program bug. As my program using DmReleaseRecord or
> DmRemoveRecord, it is no problem when using the real
> palm to do the same actions but it creates me an error
> as i used the emulator to test the program:
> 
> ' UIAppShell called sysFatalAlert with the message:
> "SystemMgr.c, minor error found while exiting app,
> unfree chunk at ...'
> 
> I know what the root problem but I did release any
> ptr/chunck.  
> 
> Pls advise in this regard. Thank you so much!
> 

It IS a problem on the real Palm, but it won't report it because it's a
minor problem... which could become a major problem if your app is being
used for a long time (and the you repeatedly create leaks).

Check in the emulator log file where the unfreed chunk is being allocated. I
think you need to call DmReleaseRecord before calling DmRemoveRecord, but I
don't think this is related to your problem, because AFAIK DmGetRecord does
not allocate memory.

The emulator is a wonderful and VERY reliable tool. If you want your program
to run as safe as possible an any device, you should make sure you don't get
any warning in the emulator.

-------------------------------
Eric VERGNAUD - JLynx Software
Cutting-edge technologies and
services for software companies
web: http://www.jlynx.com
-------------------------------


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

Reply via email to