Compiler Error C2713

only one form of exception handling permitted per function

You cannot use both __try/__except (structured exception handling) and try/catch (C++ exception handling) in the same function