Jump to content

DllCall


Recommended Posts

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?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...