From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9750cd85c475a61f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news1.google.com!proxad.net!usenet-fr.net!grolier!skynet.be!newspost001!tjb!not-for-mail Date: Fri, 24 Jun 2005 16:39:34 +0200 From: Adrien Plisson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: fr-fr, fr-be, fr, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: playsound References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <42bc1ab3$0$5333$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: c84b2c67.news.skynet.be X-Trace: 1119623859 news.skynet.be 5333 81.246.238.36:4283 X-Complaints-To: usenet-abuse@skynet.be Xref: g2news1.google.com comp.lang.ada:11621 Date: 2005-06-24T16:39:34+02:00 List-Id: 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 ? 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