Feb 27, 2017 at 8:35pm UTC
using midi functions, how can i play midi files and resource midi files?
Feb 28, 2017 at 12:16pm UTC
You can't play a MIDI file straight from a resource with the WIN API , the mciSendCommand function plays only files. One way would be to extract the resource, save as a file, play it and finally delete the file. Another option would be to embed the Windows Media Player via COM
Last edited on Feb 28, 2017 at 1:01pm UTC
Feb 28, 2017 at 12:48pm UTC
the Windows Media Player can play resources?
Feb 28, 2017 at 1:01pm UTC
No I was wrong. Forget about the MEdia Player.
Feb 28, 2017 at 1:07pm UTC
if we can play wave from a resource, why not others files(speaking on audio)?
Feb 28, 2017 at 1:29pm UTC
I think you have to ask Microsoft about that.
Feb 28, 2017 at 1:40pm UTC
so lets go more old: on past they used mid resource files on games,right? if so how they played? just copy the stream to a new file?
Feb 28, 2017 at 3:05pm UTC
I have no idea what sound files they used. Maybe they has some third party libraries ?
Feb 28, 2017 at 4:52pm UTC
please correct me some terms: what is the diference between MID files and MIDI(like piano)?
Feb 28, 2017 at 6:39pm UTC
Why don't you just download it and try ?
Feb 28, 2017 at 7:07pm UTC
i did, but i must create a dll for use it on VB too
Feb 28, 2017 at 7:27pm UTC
i created a DLL but isn't compatible with VB. can you advice me?
Feb 28, 2017 at 8:56pm UTC
i'm sorry.... do you know ActiveX Component? i think that it's the only way
Mar 1, 2017 at 10:07am UTC
No sorry I don't know ActiveX