| Author |
Message |
Manny
Joined: 21 Feb 2006
Posts: 2
|
Posted:
Tue Feb 21, 2006 11:04 pm Post subject:
First-chance exception in WMVCORE.DLL ? |
|
|
In my C++ (Visual C++ 6.0) /MFC dialog based application, I have included Windows Media Player ActiveX control. In the control/source field of the it, I put URL of one mp3 file.
Once I start the application and press play on the player, its image blinks once, and the reproduction is started.
In the debug window, I see this line repeated 19 times!
First-chance exception in MyApp.exe (WMVCORE.DLL): 0xC0000005: Access Violation.
Anyone has any advice about this? Whatever control I use after this, the WMP image blinks again, and the exception print is seen again 3 or 4 times. Control works fine, but either I am doing something wrong or the WMP control is not working correctly?
|
|
| Back to top |
|
 |
Manny
Joined: 21 Feb 2006
Posts: 2
|
Posted:
Wed Feb 22, 2006 2:06 pm Post subject:
WMP9 -> WMP10 |
|
|
| One more thing: this all happens with Windows Media Player 10. If I rollback to Windows Media Player 9, it all works perfectly. |
|
| Back to top |
|
 |
SimpleSimon
Joined: 05 Jan 2005
Posts: 8
|
Posted:
Fri May 12, 2006 9:57 pm Post subject:
|
|
|
I've heard rumors that this is intentional as some sort of protection against attached debuggers. Hearsay of probable speculation.
You're also right, that by replacing your wmvcore.dll with a version 9 one (you can find one in your 9.5 Format SDK download), then you will no longer see a constant stream of first chance exceptions in our output window. However, all DRM related functionality will no longer work until you replace the v10 wmvcore.dll.
|
|
| Back to top |
|
 |
|
|
|
|