Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

MediaElement and using the pack syntax?

Closed Thread
 
Thread Tools Display Modes
Old 03-31-2006   #1 (permalink)
Philippe Lavoie
Guest


 

MediaElement and using the pack syntax?

With the Source="pack://application:,,,/Images/movie.wmv"

I get the following

System.Runtime.InteropServices.COMException (0xC00D1329): Exception from
HRESULT: 0xC00D1329
at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
errorCode)
at MS.Internal.HRESULT.Check(Int32 hr)
at System.Windows.Media.MediaPlayer.OpenMedia(Uri source)
at System.Windows.Media.MediaPlayer.SetSource(Uri source)
at System.Windows.Media.MediaPlayer.set_Source(Uri value)


However, with Source="http://localhost/movie.wmv"

It's all good.

Any ideas why ?

Thanks

Phil
Old 03-31-2006   #2 (permalink)
Thomas Olsen [ms]
Guest


 

RE: MediaElement and using the pack syntax?

pack uri's are not currently supported due to a WMP limitation.

"Philippe Lavoie" wrote:

> With the Source="pack://application:,,,/Images/movie.wmv"
>
> I get the following
>
> System.Runtime.InteropServices.COMException (0xC00D1329): Exception from
> HRESULT: 0xC00D1329
> at
> System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
> errorCode, IntPtr errorInfo)
> at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
> errorCode)
> at MS.Internal.HRESULT.Check(Int32 hr)
> at System.Windows.Media.MediaPlayer.OpenMedia(Uri source)
> at System.Windows.Media.MediaPlayer.SetSource(Uri source)
> at System.Windows.Media.MediaPlayer.set_Source(Uri value)
>
>
> However, with Source="http://localhost/movie.wmv"
>
> It's all good.
>
> Any ideas why ?
>
> Thanks
>
> Phil
>

Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
"invalid STORE command syntax invalid message set syntax" Catullus Nacakus Vista mail 6 01-26-2008 05:46 PM
AVI too slow in MediaElement Rick Beerendonk Avalon 5 04-19-2006 02:38 AM
MediaElement using MediaClock smolyn@gmail.com Avalon 0 03-17-2006 11:03 AM
MediaElement - app crashes when MediaElement is used MueMeister Avalon 2 01-31-2006 06:59 AM
RE: MediaElement - app crashes when MediaElement is used Mark Lawrence Avalon 0 01-31-2006 06:59 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50