Playing Windows Sounds In Delphi

The Windows MessageBeep function can be used in Delphi to play a small number of Windows sounds - such as MB_ICONASTERISK, MB_ICONHAND etc. This can be quite limiting when one wants to create a Delphi application that offers precisely the same experience as the user would have otherwise. The download at the bottom of this page contains a simple wrapper for the Windows PlaySound function which can be used to play the whole range of definable Windows sounds.

Download
Jump To...

Colophon