Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
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


C++
//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);
Posted
Updated 28-Mar-12 6:34am
v2
Comments
Sergey Alexandrovich Kryukov 28-Mar-12 12:36pm    
Any linker error message?
--SA
Jochen Arndt 28-Mar-12 12:44pm    
My crystal ball shows a glimmer of LNK2001.

1 solution

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 28-Mar-12 21:09pm    
Good, adequate link, my 5.
--SA
Jochen Arndt 29-Mar-12 3:08am    
Thank you. It seems my crystal ball was right this time.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900