[futurebasic] Re : [FB] DCOD memory hanging about

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1999 : Group Archive : Group : All Groups

From: "jonathan" <jonnnathan@...>
Date: Tue, 25 May 1999 18:55:32 +0200
> I've discovered that when I call a DCOD I'm developing that a handle the
> same size as the Globals in the DCOD isn't disposed of when the DCOD is
> "finished".
> This is what I have for the compile optins for the DCOD:
> RESOURCES "src.rsrc","SOCCLADD","DCOD",_moduleRsrcID,"Plugin Module"
> COMPILE 0, _DimmedVarsOnly _CaseInsensitive _StrResource
> Anyone have any idea(s) why the memory (In the form of a handle) that I
> assume is the DCOD's globals isn't being released ??
> Actually I'm sure the handle is that of the DCOD globals because I did a
> little test: I dimmed a string as a global in the DCOD, put some text into
> it and then ran the app that calls the DCOD and then in MW ZoneRanger looked
> at the handle in question and the text was there.

the fact the memory is still used doesn't mean that it is blocked... It may
have been released but not reclaimed for further use... have you tried
calling one of those cool Toolbox commands that cause memory to be
compressed and then look see if the symptoms persist?


PS. If i have any folks on the list that have noted my personal mail -
please note that jonathan@... will die soon, and that the new mail
is in the header of this one. Thanks to all - and apologies for being so
silent (but looking back at the quality of my recent postings.... no-one
missed anything!).