Results 1 to 18 of 18

Thread: [RESOLVED] Wave Files and Vista. Some working and some not working. Strange.

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Hassan Basri's Avatar
    Join Date
    Sep 2006
    Posts
    324

    Resolved [RESOLVED] Wave Files and Vista. Some working and some not working. Strange.

    Hello everybody,

    I have an application with embedded in the ressource file wave files. I use PlaySound to play them. This works perfectly up to Windows Xp.

    Recently I have a friend testing the application on Vista. Certain files are not playing, and others are.

    Any ideas why some would play and some wouldn't? It seems very strange.

    Here is the code. It works for some wave files and not others

    VB Code:
    1. Call PlaySound("MY_EMBEDDED_WAVE_FILE", App.hInstance, SND_RESOURCE Or SND_NOWAIT Or SND_NODEFAULT Or SND_ASYNC)
    Last edited by Hassan Basri; Feb 24th, 2007 at 09:03 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width