Discussion Locked

Looking for DLL resources

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,

I am writing in VBScript using WSH for admin purposes. We are running , I was curious what DLLs are included with the OS that contain statistics such as Memory Available, Network Connectivity, Mouse/Keyboard connectivity, and the like.
Further, is there any documentation available on the web to "peek inside" to see the usage of contents of such DLLs? Thanks very much.

9 replies

by thechas

The DLLs themselves contain no specific information on a users system hardware configuration.

At best, from the DLL files, you can determine;
version of Windows installed,
installed Windows updates,
hardware devices installed,
installed application programs.

However, from just the DLL files, only the version of Windows will be complete and accurate.

In the Visual Basic archives at Tech Republic's sister site www.builder.com.com is an article and code for gathering system resource data.

As to what each DLL does, there are various resources. I believe you can find details for most of Microsoft DLLs by searching Microsoft's site on the DLL name.

Remember, DLL stands for Dynamic Linked Library.
Each DLL is a set of resources for programs to use.

The bulk of the DLLs on most systems are components of the operating system installed.

The next catagory would be DLLs required for device drivers.

Followed closely by application program specific DLLs.

Most DLLs will be "registered" with the operating system in the system registry.
In a few instances, where a program requires an out-dated DLL, that version of the DLL may be in the program's folder.

Chas

by ananthap

(1) Try www.allapi.net.

It comes with prototype and examples. You can download the viewer and use it off line. Specifically, they are "user32.dll" and "kernel".

(2) If you right click on any DLL, you will get a
WIEW DEPENDENCIES. This is a "dependency walker" and is available from Microsoft. (The about screen has "stevemil@microsoft.com"). It shows all linked DLLs (heirarchially) and all the functions (no prototypes or examples that I could see), contained in the DLL (what it exposes to the outside world) and also some other windows..

HTH

If you know of any other sites, please mail me.

End of mail.

by mikenac

As far as I know, these functions are pretty much all API functions.

In order to use these functions inside WSH or VBScript/JScript, you would have to write your own ActiveX DLL in Visual Basic first that wraps these API functions inside some class modules so that you can access them from script.

You would then have to distribute this to your clients (and register it) before you could use it in your script.

This discussion is closed to new replies.