Arkonis
May 31st, 1999, 02:27 PM
Hi
I am using the RUNTIME_CLASS macro. After the program terminate I have a memory leak in the IMPLEMENT_DYNCREATE macro of the class I have created with the RUNTIME_CLASS.
Is there some thing else I need to do?
The class created is derived from a CDialog.
Header file:
class CDBTreeDlg : public CDialog
{
// Construction
public:
DECLARE_DYNCREATE(CDBTreeDlg)
CDBTreeDlg(CWnd* pParent = NULL); // standard constructor
....
}
CPP:
IMPLEMENT_DYNCREATE(CDBTreeDlg, CDialog)
--------------------------------------------
Sascha Schantz
Ordinox Network
Tel:( 450 ) 686-2455
Fax: ( 450 ) 686-0239
URL: www.ordinox.com
e-mail: sschantz@ordinox.com
--------------------------------------------
I am using the RUNTIME_CLASS macro. After the program terminate I have a memory leak in the IMPLEMENT_DYNCREATE macro of the class I have created with the RUNTIME_CLASS.
Is there some thing else I need to do?
The class created is derived from a CDialog.
Header file:
class CDBTreeDlg : public CDialog
{
// Construction
public:
DECLARE_DYNCREATE(CDBTreeDlg)
CDBTreeDlg(CWnd* pParent = NULL); // standard constructor
....
}
CPP:
IMPLEMENT_DYNCREATE(CDBTreeDlg, CDialog)
--------------------------------------------
Sascha Schantz
Ordinox Network
Tel:( 450 ) 686-2455
Fax: ( 450 ) 686-0239
URL: www.ordinox.com
e-mail: sschantz@ordinox.com
--------------------------------------------