The advantages of the wrapper I have created are:
1. Dynamically loaded so no error with be thrown if DLL is not found on the path. You can query boolean AutoItXDLLLoaded property to find out if it is loaded. This will allow your application to function normally if the DLL is not found. The other wrapper is statically linked to the DLL and throws a cryptic error when the DLL is not found.
if AutoItXDLLLoaded then ... else ... end;
2. Defaults for integer parameters as listed in the API spec. So instead of:
AU3_WinWaitActive('Untitled - Notepad', '', 0);
you can use:
AU3_WinWaitActive('Untitled - Notepad', '');
if you want the default.
3. Ability to query for the version of the DLL you are using by the method AutoItXVersion() which return 3.2.8.4 or whatever the version of the AutoItXDll you are using.
4. Has latest procedures and functions from the DLL including the new RegDeleteKey and RegDeleteValue where the old .PAS file has the old API calls.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Attached Files
Edited by Melloware, 14 May 2009 - 03:10 AM.






