Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. A question about exit codes

A question about exit codes

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++visual-studiographicshelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Llasus
    wrote on last edited by
    #1

    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 :)

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups