![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | re: Error on MediaElement / MediaPlayer initialization...(SOLVED!) Hi Jack & Robert, Good News! I've found both the solution and cause of our problem, but not the "why did it happen": It seems as though regardless of what you are doing with it, a MediaPlayer/MediaElement object is going to go out and make a call to the function: DXVA2CreateDirect3DDeviceManager9 contained in the DLL: DXVA2.dll (DirectX Video Acceleration 2?) OK, but Jack and I kept getting Procedure Not Found exceptions at exactly that point in the execution and with good reason: using depends.exe i was able to investigate the DLL and that function was simply not present. I had a friend send me over his working copy of the dll (C:\Windows\System32\DXVA2.dll), i switched the two and now the MediaPlayer/MediaElement are able to initialize without problem! (His copy does have the function, amongst others) So Jack, if you swap the working version (desktop) to you laptop, you should be good to go! Hopefully without anything goign haywire... I know this is a long post, but an additional intresting factor in this is that while both files have a file version stamp of 5.0.1.1 - the non working version has a Link Time Stamp of 3/26/2005 whereas the working version (which is also about 10kb larger) has a Link Time Stamp of 10/20/2005. But how did Jack and I end up with this old version? DirectX is up to date, as are Graphics Card drivers...mystery... Phew! All this to avoid studying for a Calc 2 Final! Regards, Avery Z |
| | #2 (permalink) |
| Guest | re: Error on MediaElement / MediaPlayer initialization...(SOLVED!) Thats wonderful that you found the solution to the problem (It's been bothering me too). My problem is, I'm away for the holidays, and dont have access to a computer with a valid dxva2.dll. Can somone email theirs to me? (blackgold9@gmail.com) I'd really appreciate it. "Avery Z" wrote: > Hi Jack & Robert, > > Good News! I've found both the solution and cause of our problem, but not > the "why did it happen": > > It seems as though regardless of what you are doing with it, a > MediaPlayer/MediaElement object is going to go out and make a call to the > function: > DXVA2CreateDirect3DDeviceManager9 > contained in the DLL: DXVA2.dll (DirectX Video Acceleration 2?) > > OK, but Jack and I kept getting Procedure Not Found exceptions at exactly > that point in the execution and with good reason: using depends.exe i was > able to investigate the DLL and that function was simply not present. > > I had a friend send me over his working copy of the dll > (C:\Windows\System32\DXVA2.dll), i switched the two and now the > MediaPlayer/MediaElement are able to initialize without problem! (His copy > does have the function, amongst others) > > So Jack, if you swap the working version (desktop) to you laptop, you should > be good to go! Hopefully without anything goign haywire... > > I know this is a long post, but an additional intresting factor in this is > that while both files have a file version stamp of 5.0.1.1 - the non working > version has a Link Time Stamp of 3/26/2005 whereas the working version (which > is also about 10kb larger) has a Link Time Stamp of 10/20/2005. But how did > Jack and I end up with this old version? DirectX is up to date, as are > Graphics Card drivers...mystery... > > Phew! All this to avoid studying for a Calc 2 Final! > > Regards, > Avery Z > > |
| | #3 (permalink) |
| Guest | re: Error on MediaElement / MediaPlayer initialization...(SOLVED!) This ALMOST worked for me. I deleted my dxva2.dll, repaired my winfx installation and now media elements dont CRASH. However, they also don't display Anything at all. I did a debug and uppon catching the mediafailed event, it reports, "An unknown media error has occurred" Any Ideas? "Avery Z" wrote: > Hi Jack & Robert, > > Good News! I've found both the solution and cause of our problem, but not > the "why did it happen": > > It seems as though regardless of what you are doing with it, a > MediaPlayer/MediaElement object is going to go out and make a call to the > function: > DXVA2CreateDirect3DDeviceManager9 > contained in the DLL: DXVA2.dll (DirectX Video Acceleration 2?) > > OK, but Jack and I kept getting Procedure Not Found exceptions at exactly > that point in the execution and with good reason: using depends.exe i was > able to investigate the DLL and that function was simply not present. > > I had a friend send me over his working copy of the dll > (C:\Windows\System32\DXVA2.dll), i switched the two and now the > MediaPlayer/MediaElement are able to initialize without problem! (His copy > does have the function, amongst others) > > So Jack, if you swap the working version (desktop) to you laptop, you should > be good to go! Hopefully without anything goign haywire... > > I know this is a long post, but an additional intresting factor in this is > that while both files have a file version stamp of 5.0.1.1 - the non working > version has a Link Time Stamp of 3/26/2005 whereas the working version (which > is also about 10kb larger) has a Link Time Stamp of 10/20/2005. But how did > Jack and I end up with this old version? DirectX is up to date, as are > Graphics Card drivers...mystery... > > Phew! All this to avoid studying for a Calc 2 Final! > > Regards, > Avery Z > > |
| | #4 (permalink) |
| Guest | Re: Error on MediaElement / MediaPlayer initialization...(SOLVED!) New Avalon build, new set of complaints that media doesn't work. When are they going to get this right? This is ridiculous. I hope no one is planning on using media in released apps, just imagine the support calls. |
| | #5 (permalink) |
| Guest | re: Error on MediaElement / MediaPlayer initialization...(SOLVED!) I'm getting the same now...Maybe our hardware simply doesn't support it. (Like the avalon team has said all along...) Avery "Midas" wrote: > This ALMOST worked for me. I deleted my dxva2.dll, repaired my winfx > installation and now media elements dont CRASH. However, they also don't > display Anything at all. I did a debug and uppon catching the mediafailed > event, it reports, > "An unknown media error has occurred" > > Any Ideas? > > "Avery Z" wrote: > > > Hi Jack & Robert, > > > > Good News! I've found both the solution and cause of our problem, but not > > the "why did it happen": > > > > It seems as though regardless of what you are doing with it, a > > MediaPlayer/MediaElement object is going to go out and make a call to the > > function: > > DXVA2CreateDirect3DDeviceManager9 > > contained in the DLL: DXVA2.dll (DirectX Video Acceleration 2?) > > > > OK, but Jack and I kept getting Procedure Not Found exceptions at exactly > > that point in the execution and with good reason: using depends.exe i was > > able to investigate the DLL and that function was simply not present. > > > > I had a friend send me over his working copy of the dll > > (C:\Windows\System32\DXVA2.dll), i switched the two and now the > > MediaPlayer/MediaElement are able to initialize without problem! (His copy > > does have the function, amongst others) > > > > So Jack, if you swap the working version (desktop) to you laptop, you should > > be good to go! Hopefully without anything goign haywire... > > > > I know this is a long post, but an additional intresting factor in this is > > that while both files have a file version stamp of 5.0.1.1 - the non working > > version has a Link Time Stamp of 3/26/2005 whereas the working version (which > > is also about 10kb larger) has a Link Time Stamp of 10/20/2005. But how did > > Jack and I end up with this old version? DirectX is up to date, as are > > Graphics Card drivers...mystery... > > > > Phew! All this to avoid studying for a Calc 2 Final! > > > > Regards, > > Avery Z > > > > |
| | #6 (permalink) |
| Guest | re: Error on MediaElement / MediaPlayer initialization...(SOLVED!) Here's how i fixed that. Along with the dxva2.dll with the wrong date was a file evr.dll with the SAME date. So.... I erased both of them and reinstalled the WPF Runtime. Problem Solved. The correct versions were installed and everything is great. |
| | #7 (permalink) |
| Guest | re: Error on MediaElement / MediaPlayer initialization...(SOLVED!) Midas, You are a brilliant genius. I erased both and installed the Dec. CTP (I figured if I was re-installing I might as well upgrade as well) - Both files have a date of Nov. 3 now and work beautifully. You are the man. -Avery "Midas" wrote: > Here's how i fixed that. Along with the dxva2.dll with the wrong date was a > file evr.dll with the SAME date. So.... I erased both of them and reinstalled > the WPF Runtime. Problem Solved. The correct versions were installed and > everything is great. |
| | #8 (permalink) |
| Guest | re: Error on MediaElement / MediaPlayer initialization...(SOLVED!) Glad I can help somone for once ![]() "Avery Z" wrote: > Midas, > > You are a brilliant genius. I erased both and installed the Dec. CTP (I > figured if I was re-installing I might as well upgrade as well) - Both files > have a date of Nov. 3 now and work beautifully. > > You are the man. > > -Avery > > "Midas" wrote: > > > Here's how i fixed that. Along with the dxva2.dll with the wrong date was a > > file evr.dll with the SAME date. So.... I erased both of them and reinstalled > > the WPF Runtime. Problem Solved. The correct versions were installed and > > everything is great. |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .NET Framework Initialization Error | swan | Vista installation & setup | 0 | 07-28-2008 12:24 PM |
| Interactive Logon initialization error | Paul Osborne | Vista General | 0 | 01-14-2008 11:14 AM |
| Logon Initialization Error, or something, HELP HELP HELP. | Jessicalicious | Vista General | 1 | 04-05-2007 06:54 PM |
| re: Error on MediaElement / MediaPlayer initialization... | robertwl@nospam.microsoft.com | Avalon | 9 | 01-10-2006 03:53 PM |
| re: Error on MediaElement / MediaPlayer initialization... | robertwl@nospam.microsoft.com | Avalon | 1 | 01-10-2006 03:51 PM |