Distributing a DRM packager written in C#
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Distributing a DRM packager written in C#

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> DRM
Author Message
Alex Bourt
Guest





Posted: Tue Oct 04, 2005 8:30 pm    Post subject: Distributing a DRM packager written in C# Reply with quote

Hi, I have written a DRM packager in C#, and I have included all the
appropriate DLLs and MDAC setup, etc. in the setup package. However, when
time comes to encrypt the media files, I get an exception:

System.Runtime.InteropServices.COMException (0x80040154): COM object with
CLSID {3AFB20E3-6FA9-44C7-9F93-0BA1F35B7501} is either not valid or not
registered.

That GUID refers to the WMRMKeys class. I have tried registering on the
client machine WMRMObjs.dll from the SDK's bin directory, but it doesn't work.

Please help, the deadline is approaching! :)

Back to top
Sebastian Gottschalk
Guest





Posted: Tue Oct 04, 2005 8:30 pm    Post subject: Re: Distributing a DRM packager written in C# Reply with quote

Alex Bourt wrote:

Quote:
Hi, I have written a DRM packager in C#, and I have included all the
appropriate DLLs and MDAC setup, etc. in the setup package. However, when
time comes to encrypt the media files, I get an exception:

System.Runtime.InteropServices.COMException (0x80040154): COM object with
CLSID {3AFB20E3-6FA9-44C7-9F93-0BA1F35B7501} is either not valid or not
registered.

That GUID refers to the WMRMKeys class. I have tried registering on the
client machine WMRMObjs.dll from the SDK's bin directory, but it doesn't work.

Didn't it register at all, or did it register, but not as you wanted?
Anyway, which client would allow you to register DLLs and which virus
scanner (sorry, I heard that it would be quite usual for Windows machines)
wouldn't detect and remove that file immediately?

Quote:
Please help, the deadline is approaching! :)

Well, so why don't you tell us whether your Windows registry actually
contains that GUI or not? If yes, is it registered as COM interop within
..NET config?
--
Dieser Schrieb stellt eine private Meinungsäußerung des Verfassers im
Sinne der gesetzlich garantierten Meinungsfreiheit dar. Wem das nicht
passt, der wende sich an das Bundesverfassungsgericht. Viel Erfolg!
Key: 0xA0E28D18 FP: 83AE 1136 1E2B 9767 8FB2 7594 4128 1A9E A0E2 8D18
Back to top
DJScrib
Guest





Posted: Thu Oct 06, 2005 8:30 am    Post subject: RE: Distributing a DRM packager written in C# Reply with quote

The packaging method you describe is dependant upon the Windows Media Rights
Manager to be installed on all machines you distribute your client to. All
those machines must have the proper DRM Certificates installed. And doing so
completely violates the WMRM agreement you signed to get the WMRM SDK in the
first place.

So basically you're kind of completely out of luck with the method you're
using.

"Alex Bourt" wrote:

Quote:
Hi, I have written a DRM packager in C#, and I have included all the
appropriate DLLs and MDAC setup, etc. in the setup package. However, when
time comes to encrypt the media files, I get an exception:

System.Runtime.InteropServices.COMException (0x80040154): COM object with
CLSID {3AFB20E3-6FA9-44C7-9F93-0BA1F35B7501} is either not valid or not
registered.

That GUID refers to the WMRMKeys class. I have tried registering on the
client machine WMRMObjs.dll from the SDK's bin directory, but it doesn't work.

Please help, the deadline is approaching! :)


Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> DRM All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB