Question about playing midi "resource" 
Author Message
 Question about playing midi "resource"

Hi! Everyone!

    I got a question about playing midi "resource".
    I could play wav "resource"  by PlaySound.
    But I wonder if there exists a function like that can play midi
"resource"?
    Would you please give me some hints?
    Thanks a lot! :-)



Sun, 28 Apr 2002 03:00:00 GMT  
 Question about playing midi "resource"

Quote:
>    I got a question about playing midi "resource".
>    I could play wav "resource"  by PlaySound.
>    But I wonder if there exists a function like that can play midi
>"resource"?

I think mciSendString is the highest level function to play midi
files. Have a look at Knowledge Base article Q171980 "HOWTO: Play MIDI
Files Using API Functions" for a VB example.

Dave
--
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.



Sun, 28 Apr 2002 03:00:00 GMT  
 Question about playing midi "resource"
I know how to play a midi file, but I want find a way to play midi
"resource".
If the midi is a resource of exe file, I don't need to attach it to the exe
file.
That's what I want....
Anyway, thank you! :-)

David Lowndes ???g??31 ...

Quote:
>>    I got a question about playing midi "resource".
>>    I could play wav "resource"  by PlaySound.
>>    But I wonder if there exists a function like that can play midi
>>"resource"?

>I think mciSendString is the highest level function to play midi
>files. Have a look at Knowledge Base article Q171980 "HOWTO: Play MIDI
>Files Using API Functions" for a VB example.

>Dave
>--
>My address is altered to discourage junk mail.
>Please post responses to the newsgroup thread,
>there's no need for follow-up email copies.



Mon, 29 Apr 2002 03:00:00 GMT  
 Question about playing midi "resource"

Quote:
>I know how to play a midi file, but I want find a way to play midi
>"resource".

I guess you could copy the midi resource to a temporary file and play
that. Otherwise I guess you'll need to use the low level midixxx APIs.

Dave
--
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.



Mon, 29 Apr 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. question about playing midi "resource".

2. Playing Midi File from Resource.

3. Play MIDI file as a resource

4. How to play a MIDI RESOURCE FILE?

5. Playing midi resources/files

6. Playing ".avi" files

7. "Microsoft .NET Framework Configuration" + mscorlib.resources

8. "System.Resources.MissingManifestResourceException" in mscorlib.dll

9. "Switching off" loading of resource files

10. MS Resource Localization Toolset: "RLTools"

11. Use of "Insert Resource Copy: Language"?

12. Resource editor "cannot add new member"

 

 
Powered by phpBB® Forum Software