i create a pda os project.
and add a subproject which play sound under this os project.
Now i can successfully build it.
I place my wave file in the release directory.
and use windows ce command prompt to run my subproject
but it has no response, there is no sound comes out.
i cannot figure out what's wrong with it.
please help. thank you!
My subporject code is in the following
Code:
#include <windows.h>
#include <mmsystem.h>
int WINAPI WinMain(HINSTANCE hInstance,
HINSTANCE hPreInstance,
LPWSTR lpCmdLine,
int nShowCmd)
{
PlaySound(L"release\\test16bit.wav", NULL, SND_FILENAME);
return 0;
}