Re: Add/Edit/Delete images inside of WMA files



Did you request media access rights : Full, before trying to write the
data ? http://msdn2.microsoft.com/en-us/library/aa392849.aspx

I'm not sure it's applicable in your situation, but sounds like a
scenario which this switch is designed to block...

HTH
Cheers - Neil

On 27 Dec 2006 14:36:34 -0800, djacks33@xxxxxxxxx wrote:

I tried to use the posted sample for writing the lyrics as a model for
writing the pictures, but neither one of them worked. The code for
retrieving the images and saving them to disk works fine though. I have
tried using the AddAttribute method of the IWMHeaderInfo3 object to add
pictures, but I keep getting this exception: Exception from HRESULT:
0xC00D0BBC.

Alessandro Angeli wrote:
From: "djacks33@xxxxxxxxx"

I need assistance with adding new images and editing
existing images in WMA files. I have found a thread that
I was able to use in iterating through the images already
in a file, but the code for adding a new image didn't
work. Here is the link to the thread I found:
http://groups.google.com/group/microsoft.public.windowsmedia.sdk/browse_thread/thread/7ba838387d8bab73/#

I need to be able to edit/add/delete images inside of a
WMA file. I need to know how to do this in C#. Thanks.

I never posted any C# code to write "WM/Picture" attributes
so I can't imagine how something that doesn't exist can fail
to work other than in a metaphysica way.

Have you tried to use the VB.NET code to write
"WM/Lyrics_Synchronised" attributes and the C# or VB.NET
code to read "WM/Picture" ones as a guideline to write your
own C# code to write "WM/Picture" attributes?

Or you mean none of the 3 samples work?


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
------------------------------------------------
Digital Media MVP : 2004-2006
http://mvp.support.microsoft.com/mvpfaqs
.



Relevant Pages

  • Re: Add/Edit/Delete images inside of WMA files
    ... that was causing the sample code to not work. ... retrieving the images and saving them to disk works fine though. ... existing images in WMA files. ... I never posted any C# code to write "WM/Picture" attributes ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Add/Edit/Delete images inside of WMA files
    ... existing images in WMA files. ... I was able to use in iterating through the images already ... I never posted any C# code to write "WM/Picture" attributes ...
    (microsoft.public.windowsmedia.sdk)
  • Add/Edit/Delete images inside of WMA files
    ... I need assistance with adding new images and editing existing images in ... WMA files. ... I have found a thread that I was able to use in iterating ...
    (microsoft.public.windowsmedia.sdk)

Loading