Hi, this dll is awesome! The options it has are perfect for my Galaxy S Plus Configurator. Very nice development which will help loads of people programming their android related application. The only thing is that I'm not experienced with calling dll's at all, I use AutoIT v3 as programming language, it's a pretty easy language but has a large amount of functions. Luckily it allows you to call dlls, the help reference says this:
Here is a link to the full reference:
DllCall()
Code:
DllCall ( "dll", "return type", "function" [, type1, param1 [, type n, param n]] )
Ok so for example, I tried calling the device status (don't laugh at me) with this command:
Code:
$open = DllOpen(@ScriptDir&"\AndroidLib.dll")
DllCall($open, "get", "DeviceState", "get")
ConsoleWrite(@error)
Returns "4", which means: "bad number of parameters"
I know the real developers are laughing at me right now but I have no clue on how to continue that line, I tried allot of things but can't figure it out, is there someone who can tell me how you can call the dll correctly using this syntax?:
Code:
DllCall ( "dll", "return type", "function" [, type1, param1 [, type n, param n]] )
So basically I need to know which "return type" i need to use and how I call a function in the dll correctly.
Thanks in advance, this dll is great! +1 to dev