Part 3
Part 1 | Part 2 | Part 3
2a. Make a new C++ file (.cpp) and give a new name ( It's up to you ) or that I recommend, then copy/paste all this code :
#QmoSound.cpp
//-----------------------------------------------------------------------------
// Copyright © November/2011. MPGH/Qmoa. All rights reserved.
// || Do not forget to credits ||
//-----------------------------------------------------------------------------
#include "QmoSound.h"
#pragma comment(lib, "WinMM.Lib")
void cSound::swav::playsound(LPCSTR sound)
{
sndPlaySound(sound,SND_ASYNC);
}
void cSound::swav::playsoundmem(LPCSTR sound)
{
sndPlaySound(sound,SND_ASYNC|SND_MEMORY);
}
2a. Make a new C++ file (.cpp) and give a new name ( It's up to you ) or that I recommend, then copy/paste all this code :
#QmoSound.cpp
//-----------------------------------------------------------------------------
// Copyright © November/2011. MPGH/Qmoa. All rights reserved.
// || Do not forget to credits ||
//-----------------------------------------------------------------------------
#include "QmoSound.h"
#pragma comment(lib, "WinMM.Lib")
void cSound::swav::playsound(LPCSTR sound)
{
sndPlaySound(sound,SND_ASYNC);
}
void cSound::swav::playsoundmem(LPCSTR sound)
{
sndPlaySound(sound,SND_ASYNC|SND_MEMORY);
}
//-----------------------------------------------------------------------------
Finally Completed, Although tired but it does't matter
I hope this is useful for all members
keep spirit and Keep learning if you want to be a hack maker
If things go wrong and Sorry if my english is not good
If you have questions ? you can ask me
I hope this is useful for all members
keep spirit and Keep learning if you want to be a hack maker
If things go wrong and Sorry if my english is not good
If you have questions ? you can ask me
No comments:
Post a Comment
Your Comment