First time here? Check out the FAQ!
i have the same problem like yours. it was ok in vs2010 but crash when i run the exe file after compiling using mingw