destructor
-
how to create a destructor for a dlg.cpp class? i created a destructor for my dialog say mydialoDlg.cpp. but it shows error? how to create this? pls help me
Arise Awake Stop Not Till ur Goal is Reached.
-
how to create a destructor for a dlg.cpp class? i created a destructor for my dialog say mydialoDlg.cpp. but it shows error? how to create this? pls help me
Arise Awake Stop Not Till ur Goal is Reached.
What error? You should be able to add the declaration for the destructor to the class: class CmydialoDlg : public CDialog { public: virtual ~CmydialoDlg(); }; and implement the destructor: CmydialoDlg::~CmydialoDlg() { // destruct stuff here }
"I'm the Dude. So that's what you call me. You know, that or, uh, His Dudeness, or uh, Duder, or El Duderino if you're not into the whole brevity thing." The Big Lebowski