The information in this article applies to:
SYMPTOMSWhen an application uses the sndPlaySound() API to play a wave file with both the SND_ASYNC and SND_MEMORY flags set, Windows hangs. CAUSEThe memory used to store the wave becomes invalid before the wave file is finished playing. RESOLUTIONEnsure that the memory used to store the wave remains valid until the wave is complete. MORE INFORMATION
As it plays the sound, Windows must be able to access the memory used to
store the wave file. If this memory is deleted during playback, Windows
will hang because the memory is no longer valid. The memory can be deleted
if an application starts to play a sound and exits. All memory allocated by
an application is freed upon exit.
Additional query words: no32bit 3.00 3.10
Keywords : kb16bitonly |
Last Reviewed: November 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |