Missing WMCreateLicenseRevocationAgent in WMVCORE.LIB

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



Answer this question

Missing WMCreateLicenseRevocationAgent in WMVCORE.LIB

  • Struan

    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



  • King_joma


    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


  • sticksnap

    You should go to find a forum for Window Media "Format".
    This forum is for Windows Media "Foundation".

  • Jessica Alba

    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


  • Arjun B

    Thanks Becky! Now it makes sense. There is a similar article in WMF 9.5 SDK, but it is not linked to the function's description. The description refers to wvmcore.lib.
  • Missing WMCreateLicenseRevocationAgent in WMVCORE.LIB