|
-
May 24th, 2001, 12:50 AM
#1
Thread Starter
Lively Member
run music in dos mode
Can anyone Please!!!!! help me in preparing a program to run music (wav files or more) in dos mode using the sound card
-
May 24th, 2001, 05:17 AM
#2
Frenzied Member
Use the PlaySound API:
Code:
PlaySound("sound.wav", NULL, SND_FILENAME | SND_ASYNC);
PS: You must include windows.h and run in a Win32 Console!
-
May 24th, 2001, 11:06 AM
#3
Frenzied Member
Just to remind you that you can run the console app under DOS!
-
May 24th, 2001, 01:57 PM
#4
Frenzied Member
Not if it's a Win32 Console!
-
May 24th, 2001, 04:20 PM
#5
Monday Morning Lunatic
Yeah, but they said DOS 
You need to use direct hardware access so that lets you out of NT which means it's officially deprecated because XP won't let you do it either
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|