unable to add non-strings with IWMEncAttributes.Add()
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
unable to add non-strings with IWMEncAttributes.Add()

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Encoders
Author Message
Dan Schullman
Guest





Posted: Mon Sep 27, 2004 11:49 pm    Post subject: unable to add non-strings with IWMEncAttributes.Add() Reply with quote

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.

Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Encoders 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