Results 1 to 9 of 9

Thread: Does anyone have a good API reference?

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    Sweden
    Posts
    11

    Question

    Does anyone have a good API reference?

    I would prefer if it's for VB
    With examples not like the one that comes with Visual Studio (API Text Viewer)

    I'am trying to make a include file 4 asm with the most common API functions

    Please add a URL
    Assembler is more then a Language, it's a Religion

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Oetje
    [email protected]
    93606776
    Visual Basic 6, Windows 2000

    Never pet a burning dog

  3. #3
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    For all api's, check out http://msdn.microsoft.com.
    Oetje
    [email protected]
    93606776
    Visual Basic 6, Windows 2000

    Never pet a burning dog

  4. #4

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    Sweden
    Posts
    11

    That was fast about 1 hour

    Thanks I will check em' out
    Assembler is more then a Language, it's a Religion

  5. #5
    Guest
    Oetje: Actually they do not list all API's, however, it does list most of them.

    Das Mad: After you go to the MSDN site, go to Platform SDK for all the API's.

  6. #6
    New Member
    Join Date
    Aug 1999
    Location
    Boca Raton, FL, USA
    Posts
    3

    Talking

    There can be only one...

    My longtime favorite is "Visual Basic Programmers's Guide to the Win32 API" by Dan Appleman. SAMS ISBN 0-672-31590-4.

    Don't leave your code without it.

    Enough of the cliches... One of the things I really like about Mr. Appleman's book is that it clearly states if a given API call is going to cause you any problems when you call it from VB (and usually gives you a method to work around the problem). It also gives you a good set of instructions and methodologies on how to interface with future API's as you encounter them.

    My only beef? Like many books that lists constants used. It names the constant and the usage but doesn't give you the value of the constant. Unless you happen to have C++ installed (so that you can get the values form the header files), you will be poking around the internet looking for instancess where some other programmer had the same problem and was good enough to list the constants with thier code. In my case, I'm calling the Win32 registry API routines. As a twist, I'm calling them from a VB4 16-bit autorun program via thunking routines. No bult-in API constants here...
    Dan Rhea, USA
    Windows Developer
    SIRS Mandarin, Inc.

  7. #7
    New Member
    Join Date
    Nov 1999
    Posts
    3

    Question Constant's values

    DanR: You wrote that the problem with the book would be that it doesn't list the constant's values. Can't you just tell Visual Basic to print out that constant's value? Kind of like:

    Code:
    debug.print NAME_OF_CONSTANT
    or do I misunderstand your problem?


    Gabriel

  8. #8
    New Member
    Join Date
    Aug 1999
    Location
    Boca Raton, FL, USA
    Posts
    3

    Cool

    This really only affects me personally.

    If I was working in VB6 I could. In my case I'm in VB4 16-bit using thunking to get to some 32-bit API routines. VB4 16-bit has no idea what the 32-bit API constants are.
    Dan Rhea, USA
    Windows Developer
    SIRS Mandarin, Inc.

  9. #9
    Hyperactive Member
    Join Date
    Jun 2000
    Location
    Auckland, NZ
    Posts
    411

    Agree with DanR

    DanA's book is tops.

    Personally I don't like the "old style" naming convention but I agree with his reasons for using them.

    Even in VB6 you don't get all the constants. But I happen to also have MSDN and all the SDK's etc so I get around it that way on the rare occasion it happens.

    Regards
    Paul Lewis

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