locked
Missing WMCreateLicenseRevocationAgent in WMVCORE.LIB RRS feed

  • Question

  •  

    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

    Wednesday, August 16, 2006 5:53 PM

Answers

All replies

  • You should go to find a forum for Window Media "Format".
    This forum is for Windows Media "Foundation".
    Thursday, August 17, 2006 12:19 PM
  •  

    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

    Thursday, August 17, 2006 1:25 PM

  • 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

    Friday, August 18, 2006 1:46 PM
  • 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

    Friday, August 18, 2006 5:04 PM
  • 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.
    Friday, August 18, 2006 5:30 PM