mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 18:07:07 -06:00
4.30 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
bcd1db2f5a
commit
e18587ba51
@@ -3,10 +3,15 @@
|
||||
#ifndef __COM_TRY_H
|
||||
#define __COM_TRY_H
|
||||
|
||||
#include "Exception.h"
|
||||
#include "MyWindows.h"
|
||||
// #include "Exception.h"
|
||||
// #include "NewHandler.h"
|
||||
|
||||
#define COM_TRY_BEGIN try {
|
||||
#define COM_TRY_END } catch(const CSystemException &e) { return e.ErrorCode; }\
|
||||
catch(...) { return E_FAIL; }
|
||||
#define COM_TRY_END } catch(...) { return E_OUTOFMEMORY; }
|
||||
|
||||
// catch(const CNewException &) { return E_OUTOFMEMORY; }\
|
||||
// catch(const CSystemException &e) { return e.ErrorCode; }\
|
||||
// catch(...) { return E_FAIL; }
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user