I am working on a WMP music store plig-in and added license revocation code from a sample from MSDN, but the project is failing to build due to linker error for WMCreateLicenseRevocationAgent. THe detailed error message is below.
wmpservice error LNK2019: unresolved external symbol _WMCreateLicenseRevocationAgent@8 referenced in function "public: long __thiscall CLicenseRevoker::Init(void)" ( Init@CLicenseRevoker@@QAEJXZ)
Dump does nto show the method. There something similar called WMCreateLicenseRevocationAgentPrivate.
What should I do
WMP 10 SDK
WMF 9.5 SDK
Win XP Sp2
VS 2003 7.1.3088
Thanks,
Robert

Missing WMCreateLicenseRevocationAgent in WMVCORE.LIB
SemiTransparent
Does anyone from MSFT have any insights The MSDN sample which I mentioned is this one http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwmt/html/meteringcontentusage10.asp
rocky_don
I saw a similar question related to Media Format SDK 9.5 posted here and with some help from MS people among replies. I have not sen the "Format" forum. I will appreciate if someone is able to point me to it.
Thanks,
Rob
VikasAgr
This forum is for Windows Media "Foundation".
Kapoulkine Arseny
karthik asok
Hi Robert,
So first off, you'll probably have better luck with Windows Media Format SDK questions on this newsgroup: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.sdk&lang=en&cr=US
That said, I'll do my best to answer this question: I believe that WMCreateLicenseRevocationAgent isn't exported via wmvcore.lib, which is why you're not seeing it. To use the WMFSDK's DRM-playback functionality, you'll need to obtain something called a "stublib" (wmstubdrm.lib) directly from Microsoft. This link has more details: http://windowssdk.msdn.microsoft.com/en-us/library/ms781454.aspx
Becky