🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Play wav file from code

#13159
From: Martin C
Date: Wed, 29 Oct 2003 14:32
33 lines
1977 bytes
Hi Ed,

I've tried the (PlaySound) function on windows XP/ BCB5 and it is really
working great, but when I tried to use it under Windows 98/ BCB5 I always
receive compiler error "call to undefined function PlaySound".

I've included (Mmsystem.h) and still I get this error, do you have any idea
why I might be receiving this error, and why it didn't showup on windows xp
?

Looking forward for your reply

BR

"Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> wrote in message
news:3f9d5ad1$1@newsgroups.borland.com...
> I thought it better to include more than risk not telling you what you
> wanted to know.  Descriptions of how to link a WAV file it into the EXE as
a
> resource seems to be rare on here, so I included it rather than risk you
not
> getting what you need.
>
> It's good to hear that it helped!
>
> .  Ed
>
> > Martin C wrote in message
> > news:3f9d1ecb$1@newsgroups.borland.com...
> >
> > Thanks Ed, that was even more than what I was looking for...
>
>
Technical Details
Message-ID: <3f9fcf82@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f9c7595@newsgroups.borland.com> <3f9c8805$1@newsgroups.borland.com> <3f9d1ecb$1@newsgroups.borland.com> <3f9d5ad1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,1888f9f1253de96f
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-29 06:40:39 PST
From: "Martin C" <martinc@aol.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f9c7595@newsgroups.borland.com> <3f9c8805$1@newsgroups.borland.com> <3f9d1ecb$1@newsgroups.borland.com> <3f9d5ad1$1@newsgroups.borland.com>
Subject: Re: Play wav file from code
Date: Wed, 29 Oct 2003 06:32:33 -0800
Lines: 35
Organization: V Safe
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 81.10.4.238
Message-ID: <3f9fcf82@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067437954 81.10.4.238 (29 Oct 2003 06:32:34 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail