Hi to all, I've run into a problem with these two methods recently. After setting a profile by calling calling IWMWriter::SetProfile() with the profile obtained from the Reader (I am encrypting the source streams with DRM without sample recompression... at least I am trying to) I call SetDRMAttribute for WMUse_Advanced_DRM and each WMDRM_LAXXX attributes. Then I try to call GenerateSigningKeyPair and GenerateKeySeed but they both return E_FAIL for the first call (to get the keys length). I followed the instruction, so why is that happening? Does anybody know where possibly could be an error? Thanks in advance, Radek
In fact it returned DEBUG NOT ALLOWED error. Problem is done. I am sorry for spamming... Cheers, Radek