OK, then we're using it incorrectly. Is there a function that maps exit codes to explanation strings?
On 10-Aug-2012 11:54 AM, Rom Walton wrote: > We are using FormatMessage correctly. However, the code we are passing it is > not a value we get from GetLastError(), we are passing it a value being > returned from GetExitCodeProcess(). > > ----- Rom > > -----Original Message----- From: David Anderson > [mailto:[email protected]] Sent: Friday, August 10, 2012 2:30 PM To: > [email protected]; Rom Walton Subject: Re: [boinc_dev] Error > Messages > > Windows supplies a function for converting numeric error codes to > human-readable strings: FormatMessage(): > http://msdn.microsoft.com/en-us/library/windows/desktop/ms679351%28v=vs.85%29.aspx > > BOINC calls this when appropriate and shows the result. In this case it > seems to be return an empty string for 0xc0000135. Rom, can you verify that > we're calling FormatMessage() correctly? > > -- David > > On 09-Aug-2012 8:22 AM, Nicolás Alvarez wrote: > >> 0xc0000135 is a Windows error code, not a BOINC error code. That number is >> the only information BOINC receives from Windows, so it'd be hard for it to >> tell the user "what exactly is wrong and how to fix it". >> > _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
