// audio.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "CAudio.h" int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { CAudio ca; ca.Initialize(); ca.SetFolder("c:\\winnt\\media\\"); for(int x=0;x<64;x++) { ca.LoadFile(x,"notify.wav"); ca.Play(x); Sleep(100); } Sleep(1000); ca.Shutdown(); return 0; }