No announcement yet.

Most Used API

  • Filter
  • Time
  • Show
Clear All
new posts

  • Most Used API

    I was thinking about which API I use most, or that I see in code examples.

    While searching for more info, I ran across this list on API usage.

    It's not PowerBASIC-specific, but interesting nonetheless.

  • #2
    Glad to see that "GetLastError" was Number 1 (although I am as guilty as the others that I often overlook this one until I have a problem)
    Engineer's Motto: If it aint broke take it apart and fix it

    "If at 1st you don't succeed... call it version 1.0"

    "Half of Programming is coding"....."The other 90% is DEBUGGING"

    "Document my code????" .... "WHYYY??? do you think they call it CODE? "


    • #3
      I would thought that it was CreateWindowEx

      Patrice Terrier
      Addons: GDImage.DLL 32/64-bit (Graphic library), WinLIFT.DLL 32/64-bit (Skin Engine).


      • #4
        When you think about it, the PB runtime must be calling GetLastError() a LOT. Otherwise how would it know to what value it must set the system ERR variable when a call fails?
        Michael Mattias
        Tal Systems (retired)
        Port Washington WI USA
        [email protected]