Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Visual C++放音一問

0 views
Skip to first unread message

TVIS

unread,
Aug 3, 1997, 3:00:00 AM8/3/97
to

我最近想寫一個播放wav檔的程式,可是遇到一些問題
懇請有能力的網友指導一下
1 若用PlaySound() or sndPlaySound()該
include哪些檔(.h)?

2 若採MCI來寫,那又該include哪些檔(.h)?

Thanks

--
[m [1;32m※ 來源:‧靜宜大學計算機中心BBS站 bbs.pu.edu.tw‧[FROM: fish.amath.nchu] [m

adva...@ksts.seed.net.tw

unread,
Aug 3, 1997, 3:00:00 AM8/3/97
to

On 03 Aug 1997 07:23:14 GMT, pnh...@bbs.pu.edu.tw (TVIS) wrote:

�use PlaySound() or sndPlaySound():
#include <mmsystem.h>
#pragma comment(lib, "winmm.lib")

use MCI functions:
#include <mmsystem.h>
#pragma comment(lib, "winmm.lib")

use MCIWnd:
#include <VfW.h>
#pragma comment(lib, "VfW32.lib")

0 new messages