The problem about Streams.h in DirectShow

Started by
2 comments, last by Togecy 18 years, 10 months ago
When building a MFC application that used Directshow ,I got some errors like the one below: error LNK2022: metadata operation failed (8013118D) : Custom attributes(__POSITION) are not consistent: (0x02000074). LINK : fatal error LNK1255: link failed because of metadata errors I thougt that there might be something wrong with streams.h when using MFC. Any idea how to fix this? Thanks
Advertisement
I don't know about that error, but some suggestions:

Have you recompiled the base classes?

and it might help if you were to list which compiler/IDE and which SDK version you are using...

hth
Jack

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

IDE:NET2003

SDK:DirectX 9.0 Complete Software
Development Kit (Date Published:
12/19/2002)

And I have recompiled the baseclasses.
MSDN:

Linker Tools Error LNK2022
metadata operation failed (HRESULT) : error_message

The linker detected an error while merging metadata. The metadata errors must be resolved to link successfully.

One reason for LNK2022 is when a struct exists in multiple modules with the same name, but with conflicting definitions, and when you compile with /clr.

.


This topic is closed to new replies.

Advertisement