|
-
October 21st, 1998, 08:22 AM
#1
Who knows MCI command?
Hello
I use MCI commands in API mciSendString(....)
I have no problems with "open", "play", "record", etc...
Example :
i = mciSendString("open new type waveaudio alias myrec,"",0,0)
i = mciSendString("set myrec bitespersample 16","",0,0)
i = mciSendString("record myrec","",0,0)
but when I use the "status" command I get no informations. For example
dim rep as string
i = mciSendString("status myrec bitespersample",rep,0,0)
My instruction is correct or there is an error?
Thanks in advance
-
October 25th, 1998, 06:26 PM
#2
Re: Who knows MCI command?
To use API that fills a buffer, your buffer must first be filled. So change your code to this:
dim rep as string * 255
i = mciSendString("status myrec bitespersample",rep,0,0)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|