cdplayer code

"damien c. sadler" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
hi.

i'm trying to make an include file for cd operation but it doesn't seem to want to do anything but keep processes such as dllhost.exe and the like running.
i used the mcisendstring function from the sound library.
here is one of my functions below, the play function.
please can someone tell me what i'm doing wrong?

thanks.

func cdplay()
$return=mcisendstring("play cd wait")
return $return
endfunc

also, how would you tell the program which drive is the cd drive? i mean there isn't a parameter where you specify the drive ...

thanks.

regards,

damien



[Non-text portions of this message have been removed]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.