[Migrated content. Thread originally posted on 29 January 2007]
Hi,Recently discovered that when using acubench to create screens that bitmaps & menus are not destroyed when the program exits.
But something else is keeping memory and I don't know what just yet.
for example
CALL "nlsnbh" USING BY REFERENCE LINKAGE-SECTION-RECORD
LINKAGE-SEL-NBH-RECORD.
CANCEL "nlsnbh".
Just before the call the debugger tells me that the total memory used is 684829
And just after the cancel its 684899.
The screen in question has
A menu
A paged list box
An OK button
and a status bar
When the program ends instead of it doing the generated code for PERFORM Acu-Exit-Rtn we do
CALL "W$MENU" USING WMENU-DESTROY, Screen1-Mn-1-Handle
EXIT PROGRAM
STOP RUN
Does anyone else know what else might not get destroyed?
Thanks,
Shaun



