Re: FireEvent problems

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Fri, 10 Aug 2007 12:32:07 -0700, nsb7
<nsb7@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

WMS SDK is so confusing. Some samples says you cannot fire FireEvent on the
broadcase and some examples says you can.


You haven't provided references to the documentation you're reading,
so that assertion is impossible to verify. This page should be
canonical : http://msdn2.microsoft.com/en-us/library/ms753903.aspx


I am getting access to play list on the broadcast point by

playlist = player.WrapperPlayList

playlist returned is not null so I am calling the method

playlist.FireEvent("SoneString");



We can't see the example of the playlist you're using, so anything
could be happening. In addition, you've not outlined your use case so
it's not possible to evaluate even if this method is appropriate for
whatever-it-is you're trying to do.

Is there a Begin attribute in the playlist or the wrapper, which has a
value "SoneString" ? Should that read "SomeString" instead ? Please
try to be accurate when posting to avoid spending time in round-trip
posts.


but this gives me the ArgumentException expception saying "Value does not
fall within the expected range."

I don't understand. The method is expecting a string and I am passing one.


As noted in the document above, you cant just make up "any old
string", it has to correspond to the value of the begin attribute of
the media element you're operating on. Does it ?

Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
.



Relevant Pages

  • Re: Static typing aint so bad, after all...
    ... The problem is that dynamic typing, while very powerful, also hid the ... type the method was expecting. ... the answer to this is simply better documentation. ... that it's a (string or an object that should be able to ducktyped to a ...
    (comp.lang.ruby)
  • Re: John Resig has a new idea
    ... empty styleSheets collection, ... documentation, the behavior is unexpected. ... the property name is an "integer index", ... This index would be provided as a string for property access. ...
    (comp.lang.javascript)
  • Re: Anyone heard of Bee Lisp?
    ... so I took a quick look at the documentation. ... CAR/CDR/CONS - seems to work on lists instead of cons cells. ... QUOTE - Prevents evaluation of the parameter. ... STRREAD - reads a string from the console ...
    (comp.lang.lisp)
  • Re: another docs problem - imp
    ... > The first sentence says that the _path_ argument is a search path. ... Correct it does not say it's a string. ... > technical documentation a bit more carefully. ... Yes, read it a second time, didn't see the alternate interpretation. ...
    (comp.lang.python)
  • Re: Reading a line of text from a stream
    ... * Reads a line of text from a stream and returns the string on * ... If maxRead is NULL then SIZE_MAX-1 is * considered ... You've accidentally left out documentation that if maxRead is not NULL, ... It is not possible to distinguish between I/O failures and allocation ...
    (comp.lang.c)