Sign in to follow this  
smcelroy

Linker error using DirectPlay and BCB6

Recommended Posts

Hi, I get the following linker error using DirectPlay and BCB6. I'm hoping some of you might have the solution to this. Thanks. Code - if(SUCCEEDED(m_pCaptureGraphBuilder->RenderStream(&PIN_CATEGORY_PREVIEW, &MEDIATYPE_Video,m_pCap, NULL, NULL))) Linker error [Linker Error] Unresolved external '_PIN_CATEGORY_PREVIEW' referenced from C:\EXAMPLE\VIDEOCAM.OBJ'

Share this post


Link to post
Share on other sites
That may be it, although I don't know why. The PIN_CATEGORY* values are definitely in strmiids.lib.

Maybe there's a command-line option for coff2omf that you need.

Share this post


Link to post
Share on other sites
Dave,

I have just discovered that coff2omf does not work (properly) with Visual C++ static libraries. There's pretty good explanation at http://www.bcbdev.com/faqs/faq92.htm

So... VC++ it is then

Thanks for you help.

Share this post


Link to post
Share on other sites
Quote:
Original post by smcelroy
I have just discovered that coff2omf does not work (properly) with Visual C++ static libraries. There's pretty good explanation at http://www.bcbdev.com/faqs/faq92.htm

So... VC++ it is then


You can get Borland compatible DirectX libraries from:
http://clootie.narod.ru/cbuilder/index.html

Scroll down to "DirectX libraries for C++Builder"

There are two versions available. One compatible with the DirectX 9.0 SDK Update (Summer 2004), the other is compatible with the DirectX 9.0 SDK Update (Summer 2003).

Some of the DirectX static libraries have been "wrapped" in dlls, so they can be used by BCB.

***warning*** can be very slow downloading from this site.

HTH,
Cambo_frog

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this