What does exit status 1 (0x1) mean for a Windows GUI program?
Exit status 1 can mean literally anything, except perhaps 'success'. These status codes are defined by the program itself, and in most cases you'll find 1 used as a catch-all for every possible failure.
(Many GUI apps don't propagate errors to the exit status at all, since practically nothing checks it.)
Only command-line tools sometimes use different codes to allow easier scripting, and even those typically reserve 1 as the "something else happened" catch-all.
Related videos on Youtube
QuestionOverflow
Updated on September 18, 2022Comments
-
QuestionOverflow over 1 year
I have recurring occurrences of Internet Explorer (C:\Program Files\Internet Explorer\iexplore.exe) exiting with exit status 1 (0x1) in my Windows Eventlogs (event id 4689).
Whenever I google for the meaning of these exit codes I always just end up with this list (in different incarnations), where exit code 1 is said to mean "Incorrect function", also clarified with "Indicates that Action has attempted to execute non-recognized command in Windows command prompt cmd.exe".
This doesn't really make sense at all for Internet Explorer, so what does it really mean then?
Is there perhaps another list with exit status codes specific for event id 4689, with completely different meanings from that list that you always end up in on Google, or what am I missing here?
-
DrZoo over 7 yearsWhat version of Windows is this happening on? From what I've found this seems to be a Windows Server thing. I just want to verify before spewing ideas on how to fix it :)
-
QuestionOverflow over 7 yearsYes, Windows Server (2008 or 2012, not sure which in this specific case), that's correct.
-
DrZoo over 7 yearsCool, from what I found this seems to be the clearest at stating how to check whether your COM+ services are installed and running.
-
QuestionOverflow over 7 yearsYour link seems to go to a colliding event id from the "Microsoft-Windows-Complus" application log source, while the one I'm referring to is the one in the Security log (as linked from my question text above)?
-