[Gambas-devel] How to know if an object is allocated or freed ?

Daniel Campos daniel.campos at ...103...
Wed Dec 15 16:37:10 CET 2004


I don't know if this can help:

If your object inherits CWIDGET (QT_WIDGET), you can do the following:

#define WF_DELETED 0x1000
...
...

if ( (QT_WIDGET*)Obj)->flag & WF_DELETED )
{
    (Error routine)
}

Regards,

Daniel Campos






More information about the Devel mailing list