Sometimes you needs to play a some sounds from own app but
store these sounds in BLOB-field of table or in some external
files.

To play a wav-file you must call the PlaySound procedure which
have the few parameters - sound (which you want to play), handle
of file with resource (only for wav from exe/dll-file) and flags
for playing.

For example, if you want to play a wav from BLOB, you can use
the next code: