Article View: borland.public.cppbuilder.nativeapi
Article #601Re: LINK Error with ksmedia.h
From: James5950
Date: Tue, 04 Mar 2008 01:49
Date: Tue, 04 Mar 2008 01:49
25 lines
1932 bytes
1932 bytes
Thanks Remy,
More questions,
> You did not include the .lib file that actually defines the contents of
> KSDATAFORMAT_SUBTYPE_PCM. However...
Which .lib need include? I can not find about ksmedia.lib in BCB2007
library directory.
> ... you cannot use VC++ static libraries in Borland projects, so you will
> have to define the contents of KSDATAFORMAT_SUBTYPE_PCM in your code
> directly, ie:
>
> // KSDATAFORMAT_SUBTYPE_PCM = 00000001-0000-0010-8000-00aa00389b71
> const GUID KSDATAFORMAT_SUBTYPE_PCM { 0x00000001, 0x0000, 0x0010,
> {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71} };
DEFINE_WAVEFORMATEX_GUID(WAVE_FORMAT_PCM)
DEFINE_GUIDSTRUCT("00000001-0000-0010-8000-00aa00389b71",
KSDATAFORMAT_SUBTYPE_PCM);
Could you provide me more detail about define this GUID? I try it can not
work.
James
Technical Details
Message-ID:
<47ccaabb@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<47cc99e1@newsgroups.borland.com> <47cc9f67$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8bb1cb6013261ce7 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "James5950" <James@1come.com.tw> From: "James5950" <James@1come.com.tw> Newsgroups: borland.public.cppbuilder.nativeapi References: <47cc99e1@newsgroups.borland.com> <47cc9f67$1@newsgroups.borland.com> In-Reply-To: <47cc9f67$1@newsgroups.borland.com> Subject: Re: LINK Error with ksmedia.h Date: Tue, 4 Mar 2008 09:49:25 +0800 Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="big5"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6000.16386 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16386 NNTP-Posting-Host: 211.22.94.94 Message-ID: <47ccaabb@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1204595387 211.22.94.94 (3 Mar 2008 17:49:47 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail