Library tutorials & articles
API Programming Series #1
By Sreejath S. Warrier, published on 13 Jul 2002
What are the cons?
I guess I went a bit overboard in praising the API. Because, for all its advantages, API programming does have some critical disadvantages.
- First of all there is the learning curve. An equivalent of our simple MsgBox function has parameters that would require the services of a qualified astrologer to make sense of, if you are a newbie.
- It is much less forgiving of programmer errors and it is child's play to crash your application or your system with a malformed API call. And certain API calls when (im) properly used can even render your system unbootable or worse.
- Then, true to Microsoft tradition some API calls do not work as advertised.
- [Editors Note]If you eventually start programming with the .net framework, api calls become a legacy; API is windows specific, and - believe it or not - the .NET framework is intended to be platform independant[/Editors Note]
Related articles
Related discussion
-
Regarding Visual Basic Programme
by manjunathsl2007 (0 replies)
-
how do you hide all in VB6
by CapnJack (1 replies)
-
Problem with Input File
by novavb6 (3 replies)
-
How to produce a txt file with a table??
by novavb6 (1 replies)
-
VB6 compatability from XP to Vista
by bronx (1 replies)
plz help me 4r api.gv some books on api![Sad [:(]](/emoticons/emotion-6.gif)
The article is really valuble.It will give good exposure to Windows API
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
Look in the registry:
For WinNT/2K (I assume this works on XP too...)
You'll need to find a way to read this key as VB can't do it on it's own. You can use API Routines Reg*. Check msdn (http://msdn.microsoft.com/library) for more details.
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 registered to. I was wondering if anyones knows the DLL file it's in or any other way of getting this informmation into Excel
Really appreciate anyone's input.
Thanks RT
this looks quite promising, at least if he keeps goin' and wud be nice if he exposes some calls... for guys who want to expand their "Database"
This thread is for discussions of API Programming Series #1.