编译成功但链接失败 [英] compile success but link failed
本文介绍了编译成功但链接失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要使用过滤器的clsid.但是uuids.h不会退出它.因此,我必须编写
filster的团伙
这是.h,包括来自graphedit的我自己的clsid和绰号.
所以我在代码项目中使用了这些clsid.它们编译成功,但链接失败.
我是否错过了此.h文件中的重要内容?
您能帮我吗!谢谢
i need to use the filter''s clsid.but the uuids.h doesn''t exits it.so i must write the
filster''s clid
this is the .h include my own clsids and monikers come from graphedit.
so i use these clsids in my code project.they compile success but link failed.
do i have missed something important in this .h file.
can you help me!thanks
//MyClsid.h
#include "uuids.h"
#ifndef OUR_GUID_ENTRY
#define OUR_GUID_ENTRY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8);
#endif
#define MEDIATYPE_NULL GUID_NULL
#define MEDIASUBTYPE_NULL GUID_NULL
//add by lanhxg
//{4A69B442-28BE-4991-969C-B500ADF5D8A8} MPEG4s decoder
OUR_GUID_ENTRY(CLSID_MPEG4s_decoder,
0x4a69e442,0x28be,0x4991, 0x96, 0x9c,0xb5, 0x00, 0xad ,0xf5,0xd8,0xa8);
//{57F2DB8B-E6BB-4513-9D43-DCD2A6593125} mp3 decoder DMO
OUR_GUID_ENTRY(CLSID_Mp3_Decoder_demo,
0x57f2db8b,0xe6bb,0x4513,0x9d,0x43,0xdc,0xd2,0xa6,0x59,0x31,0x25);
推荐答案
请参见 [
这篇关于编译成功但链接失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文