Blitz (58/176)

From:Demon Hell
Date:13 Jul 2001 at 22:26:44
Subject:Another prob with Arexx

Grrrr, it`s one of those days..
I was doing some final testing on my MHI player, before I release it to
the great unclean masses..
Programs stable etc etc, so i decided to check it for memory leaks..and was
I in for a suprise..!
Every time I run it, I`m left with a 360Kb deficit in available
ram!!(according to Memleak).
I tracked it down to one function which sends a message to Arexx to add an
item to the cliplist (called about 30 times in all). If I comment out the
sendmessage command, it doesnt loose any memory..but thats hardly a fix :(
According to the Blitz manual, the isrexxevent(port) command should
automatically free up /delete the returning result as long as the message
address is the same as the sentmessage address
But, as always, adding some debug code to my prog shows that the address of
the result message isnt the same..it also shows that the "reply" from Arexx
is a command message,not a reply, with a command of "1".
I dunno what to do, if I reply to this message it bombs cos it isnt
expecting a reply, So does anyone have any ideas howto stop this leak?#

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie