Monday, March 7, 2011

How to walk the methods and their properties contained in a DLL?

Using preferably JScript, but VBscript will also do, how does one walk a DLL obtaining the properties and their attributes contained therein? Why? Because it would be good to ascertain the attributes of certain objects such as their datatypes at runtime rather than having to hard-code them before hand. An example of their use would be to initialise fields to their default values, e.g., spaces for strings, zeros for binaries and current date for dates.

Cheers, John

From stackoverflow
  • VBSEdit will at least show you methods and properties of DLLs for VBScript when you create an object of that type in a script.

0 comments:

Post a Comment