Search:

Type: Posts; User: algorithm

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    5,644

    How to play a sound in MFC?

    Greetings.

    May I know how can I play a sound file, "Hello.WAV" in MFC?

    Some notes that I taken down in the past:
    "
    Project | Settings | Link | Object/Library modules: | winmm.lib
    #include...
  2. The code is a success. However, I need to...

    The code is a success.

    However, I need to close the file "stdout.txt" to read the data from it (so that I can present the information) and then set it back as the output target of "netstat" (and...
  3. Having made the changes, it still doesn't work. ...

    Having made the changes, it still doesn't work.

    I replaced call to "netstat" with call to "t.exe", an program written in DOS that makes a sound with the PC speaker and prints some text.
    However,...
  4. I pasted the codes you have given but it still...

    I pasted the codes you have given but it still don't work.
    The file is not written.
  5. Help still needed!

    Using freopen(), the output of
    printf("Hello!");
    is redirected to the file, however, the output of system("netstat"); does not get redirected to the file (it is still displayed through a MS-DOS...
  6. Help needed with external call, WinExec() and timer.

    Greetings!



    My objective is to print the output of "netstat" and "netstat -e" into a file and read from it the data and display it through my program.



    The first problem I encountered is...
Results 1 to 6 of 6