Informix Error -50001: Member of a closed window cannot be accessed.
Cause and resolution
Member of a closed window cannot be accessed.
Many member functions generate this message. The program can call ixWindow::close to close a window. The user can cause a window to be closed by selecting Close from the window system menu. Once a window has been closed, although pointers that reference it might still exist, the program can no longer call any of its member functions or refer to members of it.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50001 fires in the GUI builder ("Window Painter") class library -- per the official guidance: Many member functions generate this message. The program can call ixWindow::close to close a window. The user can cause a window to be closed by selecting Close from the window system menu. Once a window has been closed, although pointers that reference it might still exist, the program can no longer call any of its member functions or refer to members of it.
- Member of a closed window cannot be accessed -- an invalid argument, state, or NULL
value reaching
ixWindow::close, per the official guidance.
Solutions / Resolution
- Review the application's call to
ixWindow::closeagainst the condition described above, and correct the argument, object state, or configuration involved, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond the GUI builder class library condition named in the official text.
Diagnostic Checks
- Check the application's use of
ixWindow::close, against the specific condition the official text describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50001 in this set yet.
Member of a closed window cannot be accessed.