🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #107

Re: BCB5 SP1 fails to compile this simple example

#107
From: Jim Dodd
Date: Wed, 23 Mar 2005 15:21
30 lines
1703 bytes
Mark Jacobs wrote:
> I need to #include msacm.h into my project, and wherever I put it keep 
> getting this stupid error :-
> 
> //--------------------------------------------------------------------------- 
> 
> #include <vcl.h>
> #pragma hdrstop
> 
> #include <mmreg.h>
> #include <msacm.h>
> //--------------------------------------------------------------------------- 
> 
> 
> It always complains about  the line :-
> 
>     FOURCC          fccType;            // compressor type 'audc'
> 
> E2303 Typename expected
> 
> What have I done wrong?

It doesn't look like you've included mmsystem.h which defines FOURCC.
It looks like you expected either mmreg.h or msacm.h to include
mmsystem.h - but they don't.

Regards,

Jim Dodd
Onset Computer Corp.
Technical Details
Message-ID: <4241896c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4241531b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,e03e3e617e4a61ea
X-Google-Attributes: gid10d0fc,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 23 Mar 2005 10:21:17 -0500
From: Jim Dodd <bcbuilderboy@yahoo.com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Re: BCB5 SP1 fails to compile this simple example
References: <4241531b$1@newsgroups.borland.com>
In-Reply-To: <4241531b$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.75.243.228
Message-ID: <4241896c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111591276 24.75.243.228 (23 Mar 2005 07:21:16 -0800)
Lines: 30
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail