Original Post
Right before my program exits, it crashes and windows gives me a message saying it encountered an error, asking me if I want to send an error report to Microsoft. Does anyone know of common reasons why this would happen?