-
Hello, I am not sure, what happend after I call the close(); member of TWindow/TDialog.
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
When you delete an object, all references to it become invalid, meaning that you must make sure not use these references at all. In this case you would either have to make sure that the |
Beta Was this translation helpful? Give feedback.
-
When you delete an object, all references to it become invalid, meaning that you must make sure not use these references at all. In this case you would either have to make sure that the |
Beta Was this translation helpful? Give feedback.
When you delete an object, all references to it become invalid, meaning that you must make sure not use these references at all.
In this case you would either have to make sure that the
info_message_window
field gets set back tonullptr
when closing the window, or simply avoid using such kind of mutable references, which is what the Turbo Vision manual suggests (page 168, Chapter 9: Event-driven programming):