Library tutorials & articles
API Programming Series #1
Where does the API reside?
The bulk of the API functions are encapsulated in a set of DLLs -
kernel32.dll , etc.
user32.dll
gdi32.dll
shell32.dll
These DLLs form the core of the Windows OS and are present on all windows machines (At least the ones that are bootable :)). So unlike when you access a function from a third-party DLL, you don’t have to ship anything with your product when you use an API function. The effect this has on the distribution size and speed of your application has to be seen to be believed.
Note: In addition to the DLLs mentioned above certain other DLLS also find place in an API Programmers notebook. These are used to provide certain special functions like Encryption, Security related features etc. We will discuss some of them in later articles of this series.
Related articles
Related discussion
-
VB6 Runtime error 381 subsript out of range Error
by Uncle (2 replies)
-
passing and reading parameters from using Shell
by jigartoliya (0 replies)
-
Convert C++ code to VB6
by mawcot (4 replies)
-
listbox scrollbar
by Dennijr (10 replies)
-
Can you describe Above simple VB6 code?
by pramodmca09 (0 replies)
Related podcasts
-
Christian Beauclair
14 mai 2008 (�mission #0074) ::.Christian Beauclair: Stratégies de migration VB6 vers .NET Nous discutons avec Christian Beauclair des stratégies de migration VB6 vers .NET. Entre autres, nous discutons comment utiliser le "VB 6 Code Advisor" et le "Interop Forms Toolkit" pour ajouter la puiss...
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.