Article View: borland.public.cppbuilder.nativeapi
Article #16094Re: Error in directx .lib
From: ScOe
Date: Fri, 30 May 2003 05:25
Date: Fri, 30 May 2003 05:25
39 lines
2498 bytes
2498 bytes
"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3ed67b23$1@newsgroups.borland.com...
>
> "ScOe" <sven.savic@zg.hinet.hr> wrote in message
> news:3ed66b40$1@newsgroups.borland.com...
> > I dont understand why do i receive error in every .lib
> > file that ship with directx 9.0 sdk.
>
> Because the files are designed for use with Microsoft VC++, not any of
> Borland's compilers. They are not compatible, they use different library
> formats.
>
> You need to use the actual DLL directly. If you want to use a .lib file
> with it, then run the DLL through the IMPLIB tool instead of COFF2OMF.
>
i did, but it seems that implib doesnt produce all the informations
required.
what do you mean by using dll directly ? with loadlibrary ?
i dont know if i can use it like that. the problem is like this:
HRESULT hr;
IAMTVTuner *pTV;
IBaseFilter *pVCap, *pACap;
ISpecifyPropertyPages *pSpec;
CComPtr<ICaptureGraphBuilder2> graphBuilder2_;
hr = graphBuilder2_->FindInterface(&PIN_CATEGORY_CAPTURE,
&MEDIATYPE_Interleaved, pVCap,
IID_IAMTVTuner, (void **)&pTV);
unresolve external PIN_CATEGORY_CAPTURE
unresolve external MEDIATYPE_Interleaved
i found those 2 in one .lib file and in qcap.dll or something like that ..
when i use implib on that dll it doesnt produce information about those 2.
>
> Gambit
>
>
Technical Details
Message-ID:
<3ed6eb49@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!pln-w!extra.newsguy.com!lotsanews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3ed66b40$1@newsgroups.borland.com> <3ed67b23$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,df1c5ca1e7760dd7 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-29 22:32:06 PST From: "ScOe" <sven.savic@zg.hinet.hr> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ed66b40$1@newsgroups.borland.com> <3ed67b23$1@newsgroups.borland.com> Subject: Re: Error in directx .lib Date: Fri, 30 May 2003 07:25:26 +0200 Lines: 41 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 NNTP-Posting-Host: 213.191.135.45 Message-ID: <3ed6eb49@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054272329 213.191.135.45 (29 May 2003 22:25:29 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!pln-w!extra.newsguy.com!lotsanews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail