[futurebasic] DCOD memory hanging about

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

From: "Pete" <furbies@...>
Date: Wed, 26 May 1999 01:17:56 +1000
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.



Pete...

It would be just like programmers to
shorten "the year 2000 problem" to "Y2K" --
exactly the kind of thinking that created this
situation in the first place. - Steven C. Meyer