Results 1 to 4 of 4

Thread: API Functions

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    Cairo, Egypt
    Posts
    126

    Unhappy

    Hi All;
    Some of the API functions are clearly from its name to understand but the problem is how could I know the related constants and types to it to declare free from errors.
    Thanks all.

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Microsoft's Platform SDK should be helpful at msdn.microsoft.com/downloads

    http://www.allapi.net is also quite good.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Just have in mind that the API's in the SDK are given in C++. So you may have some troubles understanding pointers, addreses and other stuff. But the constants are the same.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Well, here's a great tutorial on how to convert C++ declarations to vb ones, it's not that hard once you get it

    http://www.vbthunder.com/reference/readcpp.html
    Code:
    0x00008
    means
    &H8  'you may wonder where all the trailing 0's are? they are left out VB by default ;)
    
    so the 0x tells us it's a hex value, in VB that is
    &H
    Well ehm just take a look at the site, everything is explained there
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width