Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 110,618 times

Contents

Related Categories

API Programming Series #1 - So what's API

sreejath

So what's API

If you have written programs for the Windows platform using Visual Basic (or Delphi or VC++ for that matter) then you have used the Win32 API, at least indirectly. Because, quite simply, any program you write for windows in VB, uses the Windows API. Each and every line of code you write is translated into corresponding API calls which the system uses to get the tasks done.

API (Application Programmers Interface) is a set of predefined Windows functions used to control the appearance and behaviour of every Windows element (from the outlook of the desktop window to the allocation of memory for a new process). Between them, these functions encapsulate the entire functionality of the Windows environment. So we can consider API as the native code of Windows. The other languages act as an attractive and often user-friendlier shell to the API promoting easier and automated access to it. An example is VB, which has replaced a sizeable portion of the API with its own functions. But every line of code written in VB is converted to its equivalent API calls.

Comments

  • Re: [2371] API Programming Series #1

    Posted by spirit.mbs on 31 May 2007

    plz help me 4r api.gv some books on api[:(]

  • Re: [2371] API Programming Series #1

    Posted by Praseeda on 09 Mar 2007

    The article is really valuble.It will give good exposure to Windows API

  • creatin sytem dedicated application

    Posted by hackaback on 19 Sep 2005

    hey ther, can anyone gve me an idea how to retrive the system's information in vb so that i could create a system dedicated application. or any other method

  • Posted by teambanana on 12 Mar 2003

    Look in the registry:

    For WinNT/2K (I assume this works on XP too...)

    [pre]HKLM\Software\Microsoft\Windows NT\Current Version\RegisteredOrganization[/pre]

    You'll need to find a way to read th...

  • API call for system registration information

    Posted by RT on 28 Nov 2002

    Hey
    just wondering if anyone has an advice for a problem tha i'm trying to solve:

    I need to make an API call from VBA within Excel to get information about the compnany that the machine is regist...