hi!
in my program, i have the following occuring:
ptr = MemPtrNew(64000);
MemPtrFree(ptr);
now.. this works fine, and it does what i expect, *but*..
here is where it gets interesting..
i can run this program a few times (8 from memory).. then,
all of a sudden.. i get a memory error (basically, ptr == 0)
why?
it looks to me like i am dynamically asking for memory..
freeing it.. and then leaving my program.. but when i come
back.. it must still be locked or something??
looks like it is not giving back the memory i freed..
the error occurs until i physically reset the machine.
this is NOT good..
i tried changing it to use Handle's - but the same error
occurs.. it most definately is NOT resetting my Heap.
cheers
az.
--
Aaron Ardiri
Lecturer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 352 8192 A/H: +46 26 10 16 11