I have got a error when exit the application.

The error says:

Aplication Primo.exe encountered a serious error and must shut down