: Wed, 25 Jan 2006 14:28:14 -0800 (PST)

my gui script creates checkbox (along with some other lables and buttons), when certain tasks are done, more checkboxes (with same name) are created, this creates many unnecessary reference/handle in memory and sometime hangs or crash... how to destroy gui object created after certain task is done, before program exit? thanks


Make sure you are using the latest version of Win32-GUI as it contains various fixes. If this version still crashes, then this is a new issue - if so, could you provide an example so we can find the problem?

When a Win32-GUI object goes out of scope, it's handle is released automatically. You should be able to create and destroy Win32-GUI objects dynamically with no memory leaks.

Cheers,

jez.



Reply via email to