CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 1999
    Location
    CA
    Posts
    91

    The origin of life? No. Just the API.

    I'm a good bit ignorant of the workings of VB, and have only recently discovered the API (through this bord). What I want to know is, where does it all come from? How in the world do you guys know this stuff???? Where is the documentation of the functions of the API? And most of all, why can't is VB so limited without the API (i.e. why can't I reproduce API functions with VB code - shouldn't most of this stuff be built into VB already?)?

    Just seeking enlightenment.

    Brewguru99

  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: The origin of life? No. Just the API.

    - where does it all come from?
    from the Platform SDK, which is part of MSDN
    - how...do we know this stuff?
    by RTFM :-), and by experience in C(++) programming, and by reading magazines and books
    - why is VB so limited?
    well, VB was NOT designed to be a system-level programming tool, which is good IMHO.
    I think VB is good for writing Client-/Server-Apps. And, for things it can't do, you can still use the SDK functionality if you want to and know how to do it.
    And then, the "API" is flexible: whenever a new DLL comes out, you can use it by Declare-ing the functions in VB. It wouldn't make sense to create a new VB version.


  3. #3

    Re: The origin of life? No. Just the API.

    Many of VB's functions are simply wraparounds for the API. I imagine much of the work that goes into creating VB involves deciding what part of the API to expose and what not to expose.

    Refer to the book a Visual Basic Programmer's Guide to Win32 API by Daniel Appleman if you are interested in learning more about the API



    Charlie Zimmerman
    http://www.freevbcode.com


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

Featured