Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#17 bogui crashes sometimes when closing the server window

open
nobody
Client (4)
5
2006-06-26
2006-06-26
Mickey Roberts
No

bogui crashes from time to time with an access
violation error when trying to close the server window.
The error is coming from the first line that follow:

if ( !ctx->bSyncSvr )
api->pShowWindow( hDlg, SW_HIDE );
else
api->pDestroyWindow( hDlg );

This bug is easily fixed as follows:

// if not connected
else
{
if ( !ctx->bSyncSvr )
api->pShowWindow( hDlg, SW_HIDE );
else
api->pDestroyWindow( hDlg );
}

If the server is connected, it hides/destroys the
window a few lines up and then tries again here. This
should only be executed when it's not connected it appears.

Discussion

  • Mickey Roberts
    Mickey Roberts
    2006-06-26

    Updated file for bogui to fix the bug.

     
    Attachments