Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   Code Library (http://www.xtremevbtalk.com/code-library/)
-   -   Play WAV Sounds directly from a Win32 Resource (http://www.xtremevbtalk.com/code-library/184748-play-wav-sounds-directly-win32-resource.html)

OnErr0r 08-22-2004 12:22 PM

Play WAV Sounds directly from a Win32 Resource
 
1 Attachment(s)
I've seen several examples of playing Wavs from .net resources, but these all require a buffer in your application to play the sound. PlaySound API can play a resource wav directly from a Win32 resource. The executable is included so you can see it actually works, once you have the resource compiled into the exe. Please read the included readme.txt for instructions.


All times are GMT -6. The time now is 05:00 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.