Mike Ghan wrote:
> Well this is tougher than one might think.
Well out of the mouths/keyboards of babes/newbies come ...;}
> I came up with a solution
> utilizing the PlaySound function instead of mciSendString. The
> PlaySound API specifies a synchronous mode which will only return
> after the wave file is completely played.
I wondered if it might but can't find my copy of Petzold since I moved
last spring.
> It fails to mention that
> this only works if the API is called while there is a *visible*
> window. What should of been a single line change to your program
> became the following:
>
> [SNIP code representing a significant amount of work, thank you. ]
Now to see what happens in my conglomeration [ hate to call it a
system.] I'm writing some stuff in Scilab and finding its shell
commands can have strange quirks.
Thanks again.
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Sun Dec 21 2003 - 12:04:15 PST
Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!
This archive was generated 09-Feb-2012. Archive updated nightly.