Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX DynamicWrapperX

Status
Not open for further replies.

TheGrayCardinal

Technical User
Oct 19, 2008
1
RU
DynamicWrapperX is an ActiveX component (COM server) inspired by DynamicWrapper ( which I wrote as an attempt to better implement the idea. It allows to call functions exported by DLL libraries, in particular Windows API functions, from scripts in JScript and VBScript. This component is not a modification of the original DynamicWrapper, it was written from scratch in the GoAsm assembly language. So far I have tested it under Windows XP SP1 and Windows 98 SE. New features and changes:

* Added registration only for the current user. This can be useful if the user doesn’t have administrator privileges.
* Expanded the set of input parameter and return value types.
* Added output parameters.
* Unified the way strings are passed in JScript and VBScript.
* Added callback, which enables API functions to call script functions. This is necessary for using APIs such as EnumWindows (see examples below).
* On Windows 98, excluded the necessity to create a special object instance for each API function.
* Added several useful (IMHO) built-in methods.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top