GetLastError returns invalid number
-
My code fails on "HttpSendRequest". But GetLastError returns like "-2146893051" and I am not sure how to proceed. Details - Developed on Embedded VC++ WinCE 4.2. (Pocket PC 2003) I am mainly stumped by the GetLastError() return value. Any idea how I can get a proper error code. Note: we are actually trying HTTPS here.. Any help is very much appreciated. thank you aby
-
My code fails on "HttpSendRequest". But GetLastError returns like "-2146893051" and I am not sure how to proceed. Details - Developed on Embedded VC++ WinCE 4.2. (Pocket PC 2003) I am mainly stumped by the GetLastError() return value. Any idea how I can get a proper error code. Note: we are actually trying HTTPS here.. Any help is very much appreciated. thank you aby
Actually, that number does appear to be a valid error message - in hex it's 0x80090305, which Error Lookup reports as "The requested security package does not exist". I'm not familiar with the Http* APIs, so I can't suggest the appropriate course of action, other than to review your code, however, posting the error message into google groups showed up several postings regarding this error. HTH. -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
-
Actually, that number does appear to be a valid error message - in hex it's 0x80090305, which Error Lookup reports as "The requested security package does not exist". I'm not familiar with the Http* APIs, so I can't suggest the appropriate course of action, other than to review your code, however, posting the error message into google groups showed up several postings regarding this error. HTH. -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
Thanks. I did not get any output in the Error Lookup with Embedded VC++ but did get when i used the one with VC++. Thanks again.