Dan Schullman
Guest
|
Posted:
Mon Sep 27, 2004 11:49 pm Post subject:
unable to add non-strings with IWMEncAttributes.Add() |
|
|
Hello,
I'm unable to add non-string values with IWMEncAttributes.Add() from the WM
Encoder 9 SDK and wonder if I'm doing something wrong or if this is a
bug/restriction with this method?
For example, I'd like to set "WM/EncodingTime" using (UInt64)
DateTime.UtcNow.ToFileTimeUtc(), and something like "XXX/MyID" using
Guid.NewGuid(), but I get a System.ArgumentException when I call the Add
method. The C# documentation for the method indicates it takes an Object for
the value, but it sure looks like it's not happy with something other than a
String.
Thanks in advance,
Dan S.
|
|