Can someone help me with why I get these error messages?
I'm trying to use Autoitx3.dll in an asm program, Autoitx3.dll is free to use.
The Dll can be used as a Com or exported functions.
\masm32\lib\autoitx3.lib(1) : error A2008: syntax error : !
\masm32\lib\autoitx3.lib(2) : error A2044: invalid character in file
\masm32\lib\autoitx3.lib(3) : error A2044: invalid character in file
\masm32\lib\autoitx3.lib(3) : fatal error A1009: line too long
Included in zip file are: autoitx3.inc, autoitx3.lib and autoitx3.dll.
Thanks for any guidance.
[attachment deleted by admin]
The library needs to be included with the INCLUDELIB directive, not the INCLUDE directive.
This appears to work OK:
; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
include \masm32\include\masm32rt.inc
include autoitx3.inc
includelib autoitx3.lib
; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
.data
.code
; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
start:
; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
invoke AU3_WinMinimizeAll
invoke AU3_Sleep, 3000
invoke AU3_WinMinimizeAllUndo
inkey "Press any key to exit..."
exit
; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
end start
Google is faster than the light! I tried to find out what AutoItx is...
Autoitx3.dll Help
I'm trying to use Autoitx3.dll in an asm program, Autoitx3.dll is free to use. ... Included in zip file are: autoitx3.inc, autoitx3.lib and autoitx3.dll. ...
www.masm32.com/board/index.php?topic=9163.msg66354 - 5 minutes ago -