🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3028

PlaySound() problem

#3028
From: Paulo Buzinello
Date: Wed, 13 Sep 2006 08:33
11 lines
1111 bytes
Hi, All

Can someone help me to understand why the code
below does not work correctly? The music is played
but SND_ASYNC has no effect. I need to wait the
function play the entire music.

PlaySound("dance.wav",0,SND_ASYNC)

Thanks in Advance
Technical Details
Message-ID: <MPG.1f71b6aa6a729d32989680@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!transit.news.xs4all.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.albasani.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2274be377f128b8f,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Paulo Buzinello <NO_SPAM_paulo@buzinello.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: PlaySound() problem
Date: Wed, 13 Sep 2006 05:33:47 -0300
Message-ID: <MPG.1f71b6aa6a729d32989680@newsgroups.borland.com>
X-Newsreader: MicroPlanet Gravity v2.50
NNTP-Posting-Host: 200.155.55.44
X-Trace: newsgroups.borland.com 1158136385 200.155.55.44 (13 Sep 2006 01:33:05 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!transit.news.xs4all.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.albasani.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail