Jump to content

Recommended Posts

Posted

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

Posted (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 by Manadar

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
  • Recently Browsing   0 members

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