Microsoft KB Archive/321671

= Windows Media Player Incorrectly Recognizes a Visual C++ Program as an Internet Site =

Article ID: 321671

Article Last Modified on 2/11/2004

-

APPLIES TO


 * Microsoft Windows Media Player 7.0

-



This article was previously published under Q321671



SYMPTOMS
Windows Media Player may incorrectly recognize a Microsoft Visual C++ program that implements the playlistCollection object as an Internet site. When this occurs, an &quot;ACCESS DENIED&quot; error message in the player.playlistCollection.getAll function may be generated.



CAUSE
This problem may occur if &quot;Access rights of Internet sites&quot; is set to the No access option in Windows Media Player. To view this option, click Options on the Tools menu in Windows Media Player, and then click the Media Library tab.



RESOLUTION
To work around this problem:
 * 1) Determine the number of playlists that exist in the local Windows Media Player library. To do so, implement the playlistCollection object in Visual Basic.
 * 2) A Visual C++ program must host the Windows Media Player OCX by using ATL. The hosting container must implement IOleClientSite and call SetClientSite on the OCX. The hosting container must not implement IHTMLDocument. This means that the Query Interface for IID_IHTMLDocument must return E_FAIL.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Keywords: kberrmsg kbnofix kbenv kbprb kbdswmm2003swept KB321671

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.