In a Module called Music, i have this:
Code: Select all
Declare Function mciSendString Lib "winmm.dll" Alias _
"mciSendStringA" (ByVal lpstrCommand As String, ByVal _
lpstrReturnString As Any, ByVal uReturnLength As Long, ByVal _
hwndCallback As Long) As LongCode: Select all
i = mciSendString("play Mid2", 0&, 0, 0)Code: Select all
i = mciSendString("stop Mid2", 0&, 0, 0)Code: Select all
i = mciSendString("loop Mid2", 0&, 0, 0)...Sadly, the obvious didn't work, and I'm still stuck. Everything Plays and Stops fine, but i can't figure out how to loop. So if anyone here knows how to do it, or can recommend some good place to look, that'd be great. I've been searching Google for like 1 hour now, and nothing.
PS: It'd be nice if the loop method is compatible with the way I'm playing and stopping midis now
Thanks in advance
