|
From: Tony <ve...@ma...> - 2003-10-01 08:31:06
|
Hello!
Fox 1.1.37, Windows, Mingw.
I'm fighting with DialogBox which is a database connection dialog, and
main window must not appear in the case of connection fail.
My code is:
void MainWindow::create(){
FXMainWindow::create();
(new ConnectWindow(this,"Connection"))->execute(PLACEMENT_SCREEN,SKeeper);
if (SKeeper.Connected())
show(PLACEMENT_SCREEN);
else
close();
}
But application crashes at close();
Why it does not work?
How to close it and quit without appearing?
Thanks for all FOXes.
P.S. http://www.fox-toolkit.org/news.html shows two "1.1.36" versions.
____________________________________
01.10.2003
Tony,
mailto:ve...@ma...
|