Got code to compile, project debug event problem, works in VS 2012