I am running simple tutorial application compiled under Visual Studio 2013. It runs fine run from the command line. Unfortunately, when I copy the exe file to another location application hangs. There are problems even with the killing process with task manager. Since it is strange that I question whether anyone encountered a similar problem and managed to solve it.