First-chance exception in WMVCORE.DLL ?
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
First-chance exception in WMVCORE.DLL ?

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
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 ? Reply with quote

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
View user's profile Send private message
Manny



Joined: 21 Feb 2006
Posts: 2

Posted: Wed Feb 22, 2006 2:06 pm    Post subject: WMP9 -> WMP10 Reply with quote

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
View user's profile Send private message
SimpleSimon



Joined: 05 Jan 2005
Posts: 8

Posted: Fri May 12, 2006 9:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK 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