Little example:
#include "TLBAutoEnum.au3" _AutoItObject_Startup() Dim $objFSO = ObjCreate("Scripting.FileSystemObject") ; here constants are imported and declared _TLBAutoEnum_ImportRelated($objFSO) ; here we use them just like native Dim $objFile = $objFSO.OpenTextFile(@ScriptFullPath, $IOMode.ForReading, False, $Tristate.TristateUseDefault) ; do something with the file ;... $objFile.Close()
This UDF offers also possibility to import constants by name, import using multiple type libraries identified by path or GUID - for examples s. attached Usg_TLBAutoEnum.au3.
Requirements
Attached Files
Edited by doudou, 05 August 2010 - 06:05 PM.






