Advertisement
3_2004-2005 Windows API Call/ Explanation #136396

Play wav from resource files with API sndPlaySound

This is a very simple API wrapper in a bas module for playing a wav file within a resource file using the API function sndPlaySound. I tried to figure out how to do this for some time and thought I should share it with you. I belive that for you experienced programmers, out there who are used to work with API, this is simple. But hopefully it will help out someone. I have included the bas module in case the formatting of the code will be to hard to read. I got great help from sotirisdj who had a project who thought me this technique.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine