Disabling option “Image has Safe Exception Handlers” in Project properties -> Configuration Properties -> Linker -> Advanced tab helped me.
Disabling option “Image has Safe Exception Handlers” in Project properties -> Configuration Properties -> Linker -> Advanced tab helped me.