luckyluke Posted July 30, 2013 Share Posted July 30, 2013 Hello I'm trying to use dllcall for autoitx3.dll, but i'm got some error. Here is my code: $dll = DllOpen("AutoItX3.dll") ;MsgBox(0, '', @error) $result = DllCall($dll, "int", "AU3_ToolTip", "str", "Hello, world!" , "long", @DesktopWidth / 3, "long", @DesktopHeight / 3) DllClose($dll) Please help, thanks. Link to comment Share on other sites More sharing options...
JohnOne Posted July 30, 2013 Share Posted July 30, 2013 Do you have the error that I think you do? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
luckyluke Posted July 31, 2013 Author Share Posted July 31, 2013 today, i run, but the tooltip is not right, it's all special characters, not the string i want. Link to comment Share on other sites More sharing options...
Danyfirex Posted July 31, 2013 Share Posted July 31, 2013 Hi. use unicode. $dll = DllOpen("AutoItX3.dll") ;MsgBox(0, '', @error) $result = DllCall($dll, "int", "AU3_ToolTip", "wstr", "Hello, world!" , "long", @DesktopWidth / 3, "long", @DesktopHeight / 3) DllClose($dll) saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now