Hi,
I try to use objects and specialy the constants (enums) on TLB file of object loaded or created in AutoIt but i have always the same error.
I have tested many different version of Autoit since 3.3.2 to 3.3.12, many different version of Autoitobject but no chance...
I have put TLIdirect (and TLI also) and Autoitobject UDF on my project but when i test your little exemple, i have always the same error.
#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()
Anyone can help me please ? Thank you very much.
error => http://www.imagesup.net/?di=1141711012916