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...
Type: Posts; User: cangel
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...
Yes... I use visual studio 2005
Yes. I just want to play that wave file
what I do for including this library is like the following. is this correct?
#include <windows.h>
#include <mmsystem.h>
#pragma comment( lib,...
O~
Could you tell me how I can fix this error?
I am using window CE to modilfy some audio driver
I just try to add a subproject under the OS design project to play some sound.
When I add...
Thank you!
It works.
But it now have this error:
error LNK2019: unresolved external symbol WinMain referenced in function WinMainCRTStartupHelper
Why it have problem whith helper?
my code for PlaySound is like this:
#include <mmsystem.h>
int main()
{
PlaySound(L"release\\test16bit.wav", NULL, SND_SYNC);
return 0;
}
I don't know what you want to know.
I post here, because i cannot find a satisfied solution from google and i don't have any idea about how to solve this problem.
anyway, thank you for your...
it is not a homework.
i found this question online for preparing my interview.....
the problem I am struggling with is how to alignment boundary when using malloc
Thank you very much!
how to code the following functions? please help!
Thank you very much!
void * aligned_malloc(size_t bytes, size_t alignment); void aligned_free(void* p);
aligned_malloc and aligned_free functions...
I write a timer which periodically send signal interrupt to implement function "contextswitch"
but something wrong with my code
it can print "inside thr_quantum", "inside timer", "inside interrupt"...
Yes.
I write this code by my self
my OS is solaris unix
my text editor is vi
The following is my code
1.#include "uthread.h"
void thr_init()
{
// initiate thread queue
head = (TCB *)malloc(sizeof(TCB));
your recommendation works.
Thank you very much!
but there is still a problem with "warning: invalid white space character in directive" :(
It seems that there is some problem with struct TCB
but I cannot find out what's wrong with it.
Please help!
Thank you very much!
The head file is the following:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...