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. Mobile Development
  3. Mobile
  4. GetLastError returns invalid number

GetLastError returns invalid number

Scheduled Pinned Locked Moved Mobile
helpc++hardwaretutorial
3 Posts 2 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.
  • A Offline
    A Offline
    Aby Philip
    wrote on last edited by
    #1

    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

    I 1 Reply Last reply
    0
    • A Aby Philip

      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

      I Offline
      I Offline
      Ian Darling
      wrote on last edited by
      #2

      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

      A 1 Reply Last reply
      0
      • I Ian Darling

        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

        A Offline
        A Offline
        Aby Philip
        wrote on last edited by
        #3

        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.

        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