comp.lang.ada
 help / color / mirror / Atom feed
From: Adrien Plisson <aplisson-news@stochastique.net>
Subject: Re: playsound
Date: Fri, 24 Jun 2005 16:39:34 +0200
Date: 2005-06-24T16:39:34+02:00	[thread overview]
Message-ID: <42bc1ab3$0$5333$ba620e4c@news.skynet.be> (raw)
In-Reply-To: <e465bcf0.0506240558.5f62f511@posting.google.com>

Sylvain wrote:

> Can you give me a piece of code which explain me how to use the
> Playsound API please ?

are you talking about the PlaySound function in the Microsoft Windows 
API ?

<http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_playsound.asp>

the use of this function is pretty straightforward and described in 
the MSDN. using it from Ada using Win32Ada (i take all those 
informations from your previous post...) is just a matter of 
Ada.Interfaces.C.

heu... well, i see that PlaySound is not in the Win32Ada 
documentation, you may have to import the one in winmm.lib.

> Thx, Bye !

-- 
rien



  reply	other threads:[~2005-06-24 14:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-24 13:58 playsound Sylvain
2005-06-24 14:39 ` Adrien Plisson [this message]
2005-06-24 19:16 ` playsound Bernd Specht
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox