Hi,

   > I am trying to play a 1 to 2 minute long music file

Put a TMediaPlayer on the form. It's a standard Delphi control in D5, I don't
know about other versions.

Set Visible to False.

Set AutoOpen to True.

Set DeviceType to dtAutoSelect.

Set FileName to your .midi or .wav clip.

Call the Play method.

See the Help notes for more info.

regards,

Martin.

Reply via email to