Connecting Tech Pros Worldwide Help | Site Map

How to play a midi without the WAIT parm???

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 07:52 AM
MLH
Guest
 
Posts: n/a
Default How to play a midi without the WAIT parm???

Look at the following 2 lines of code. They are the same, but for
the WAIT parameter. The wait tells the MCI command to complete
before returning control to the application. I virtually lose control
of the computer if I use the WAIT parm. But, unless I do, the music
doesn't play. I don't know why not?

Ret = mciSendString("play MyTune", 0&, 0, 0)
Ret = mciSendString("play MyTune wait", 0&, 0, 0)


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.