A question about exit codes
-
Hello and good day! I created an application using VS 2005 which simply loads an image from a bitmap using a picture box (there are other functionalities involved though but that is its main function). And I was earlier told that it crashed on a different PC even though on tests it did not crash at all (2 test PCs). I can only guess that that PC's set-up could cause it to crash but still I'm looking for other reasons. One is the exit code. The application when opened and closed displays this on the output: Program '[2788] Application.exe: Native' has exited with Code 2 (0x2). Based on my research it said that code 2 indicates that "The system cannot find the file specified.". On start I only open a file but I don't think that was the cause of code 2. Can anyone explain to me or help me about this? Thank you for the time and help :)