Search:

Type: Posts; User: cangel

Search: Search took 0.00 seconds.

  1. Thread: playsound2

    by cangel
    Replies
    1
    Views
    946

    playsound2

    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...
  2. Thread: PlaySound

    by cangel
    Replies
    16
    Views
    13,837

    Yes... I use visual studio 2005

    Yes... I use visual studio 2005
  3. Thread: PlaySound

    by cangel
    Replies
    16
    Views
    13,837

    Yes. I just want to play that wave file what I...

    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,...
  4. Thread: PlaySound

    by cangel
    Replies
    16
    Views
    13,837

    O~ Could you tell me how I can fix this error?...

    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...
  5. Thread: PlaySound

    by cangel
    Replies
    16
    Views
    13,837

    Thank you! It works. But it now have this...

    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?
  6. Thread: PlaySound

    by cangel
    Replies
    16
    Views
    13,837

    PlaySound

    my code for PlaySound is like this:


    #include <mmsystem.h>
    int main()
    {
    PlaySound(L"release\\test16bit.wav", NULL, SND_SYNC);
    return 0;
    }
  7. Replies
    7
    Views
    2,631

    I don't know what you want to know. I post here,...

    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...
  8. Replies
    7
    Views
    2,631

    it is not a homework. i found this question...

    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!
  9. Replies
    7
    Views
    2,631

    alignment in malloc

    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...
  10. Replies
    1
    Views
    1,279

    problem with timer & signal

    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"...
  11. Replies
    8
    Views
    3,288

    Yes. I write this code by my self my OS is...

    Yes.
    I write this code by my self
    my OS is solaris unix
    my text editor is vi
  12. Replies
    8
    Views
    3,288

    The following is my code 1.#include...

    The following is my code



    1.#include "uthread.h"

    void thr_init()
    {
    // initiate thread queue
    head = (TCB *)malloc(sizeof(TCB));
  13. Replies
    8
    Views
    3,288

    your recommendation works. Thank you very much!...

    your recommendation works.
    Thank you very much!

    but there is still a problem with "warning: invalid white space character in directive" :(
  14. Replies
    8
    Views
    3,288

    problem with struct?

    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:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
Results 1 to 14 of 14