mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 00:07:09 -06:00
3.13
This commit is contained in:
14
Common/ComTry.h
Executable file
14
Common/ComTry.h
Executable file
@@ -0,0 +1,14 @@
|
||||
// ComTry.h
|
||||
|
||||
// #pragma once
|
||||
|
||||
#ifndef __Com_Try_H
|
||||
#define __Com_Try_H
|
||||
|
||||
#include "Exception.h"
|
||||
|
||||
#define COM_TRY_BEGIN try {
|
||||
#define COM_TRY_END } catch(const CSystemException &e) { return e.ErrorCode; }\
|
||||
catch(...) { return E_FAIL; }
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user