Sign in to follow this  
Followers 0

mciSendStringA - Help!

1 post in this topic

#1 ·  Posted (edited)

The Winmm.dll API mciSendStringA Needs commands to play things. I'm thinking of making a UDF for this.

I have the commands for it, just don't know how to use them in Autoit. If autoit can play Mp3's I'll still need this to edit things out from the Mp3 file.

Here's what I'm doin...

dllcall("winmm.dll","int","mciSendStringA","str","open " & """E:\music\themp3.mp3""" & " type MPEGVideo alias MP3File","str","","int",65534,"hwnd",0)

That works fine until...

dllcall("winmm.dll","int","mciSendStringA","str","play MP3File")

The play command crashes. Am I missing something?

Regards to the Mixing Project I'm doin'

Thx in advance


Edited by eynstyne

F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]

Share this post

Link to post
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
Sign in to follow this  
Followers 0