Re: sound in delphi

Posted by John on February 10, 2005
In Reply to: Re: sound in delphi posted by tris on February 10, 2005

First, you need to put MMSYSTEM in the uses list on top of the unit.

Next, try this code:

  PlaySound('c:\sounds\mysong.wav', 0, 0); 

Hope this is what you meant.

Delphi Tutorials -- by DelphiLand