KenshinHimura
Programmer
I have a couple questions....
#1 I was wondering how to play midis, wavs, etc... with windows resources? I know that if u
SHELL "rundll dllfile,command" u can use dll files functions, but how do u specify the different arguments.
For example SHELL "rundll mmsystem,mcisendstring", I want to know how to send the variables.
Well, I got SHELL "rundll mmsystem,sndplaysound file.wav" to work, but i dont know how to stop it once it starts playing and I can't add nemore arguments except the filename. I cant figure out how to add the SND_LOOP] function or any others.
And I also have one more question. How would u close a program using qbasic. Like if realplay.exe was open and u wanted to close it by sending a command from basic.
So please help me if u can.
#1 I was wondering how to play midis, wavs, etc... with windows resources? I know that if u
SHELL "rundll dllfile,command" u can use dll files functions, but how do u specify the different arguments.
For example SHELL "rundll mmsystem,mcisendstring", I want to know how to send the variables.
Well, I got SHELL "rundll mmsystem,sndplaysound file.wav" to work, but i dont know how to stop it once it starts playing and I can't add nemore arguments except the filename. I cant figure out how to add the SND_LOOP] function or any others.
And I also have one more question. How would u close a program using qbasic. Like if realplay.exe was open and u wanted to close it by sending a command from basic.
So please help me if u can.