westworld Posted September 22, 2009 Posted September 22, 2009 Hi All,I'm new to Autoit and have some trouble with DLLCall.I downloaded the audiogenie dll and registred it, but can't get it to work.I was thinking that:$result = DllCall ("AudioGenie2\GetID3V1Artist","str","test.mp3") MsgBox(0,"",$result)would work but it returns "0"Anybody out there who could tell me what I'm doing wrong plz?best regards
jvanegmond Posted September 22, 2009 Posted September 22, 2009 (edited) The error code from DllCall is not in the return value, but it's in the @error macro. Also, your DllCall was completely wrong, incorrect number of parameters, no reference to the dll. Are you new to programming or did you learn Visual Basic before this (which is the same thing really)? Something like: $result = DllCall ("AudioGenie2.dll","str", "GetID3V1Artist", "str","test.mp3") MsgBox(0,"",@error) Edited September 22, 2009 by Manadar github.com/jvanegmond
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