Home | Info | Community | Development | myReactOS | Contact Us
Exception Handler for COM exceptions.
Definition at line 93 of file shellclasses.cpp.
Referenced by PropertySheetDialog::DoModal(), explorer_main(), StartMenu::Init(), ShellBrowser::InsertSubitems(), Window::MessageLoop(), MainFrameBase::OpenShellFolders(), ShellDirectory::read_directory(), StartMenuRoot::TrackStartmenu(), and WebChildWindow::WndProc().
{ String msg = e.toString(); SetLastError(0); if (hwnd && !IsWindowVisible(hwnd)) hwnd = 0; MessageBox(hwnd, msg, TEXT("ShellClasses Exception"), MB_ICONHAND|MB_OK); // If displaying the error message box _with_ parent was not successfull, display it now without a parent window. if (GetLastError() == ERROR_INVALID_WINDOW_HANDLE) MessageBox(0, msg, TEXT("ShellClasses Exception"), MB_ICONHAND|MB_OK); }