Lazycat Posted October 4, 2004 Share Posted October 4, 2004 Now I'm try to learn DllCall, but not luck at all Only one example from dev thread (MessageBox) works for me. If I understand right, now DllCall at least should return array with return value and params. But I never get it as array. I try simplest example, which emulate StringUpper function. $text = "Text string" $ret = DllCall("user32.dll", "CharUpper", "str", "str", $text) MsgBox (0, UBound($ret), $ret) But even this is not works Where I'm wrong? Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
Lazycat Posted October 4, 2004 Author Share Posted October 4, 2004 (edited) Return type before function name Thanks, Larry, I missed this change somwhere in the topic... All works just fine! Edit: This is even documented already... :"> Edited October 4, 2004 by Lazycat Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) 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