Readme for Windows Media Player 11 SDK

October 2006

This documentation provides late-breaking or other information that supplements the documentation for the Microsoft Windows Media Player 11 Software Development Kit (SDK).

For up-to-date information about issues not described in this document, refer to the Windows Media Player 11 SDK on the Microsoft Web site.

Contents

Known issues

  • SchemaReader sample requires Windows Media Player 11
  • Online store plug-in wizard must be installed manually
  • SAMI style is not applied by default when using Media Foundation
  • Captions might not be displayed in closecap sample
  • Player control can cause an exception with Visual Basic .NET 2002
  • Windows Media Player 6.4 compatibility issues

64-bit development not supported

Legal notice

Known issues

SchemaReader sample requires Windows Media Player 11

The SchemaReader sample, which is part of the Windows SDK, requires Windows Media Player 11 to be installed.

Online store plug-in wizard must be installed manually

The Visual Studio Registration utility does not install the online store plug-in wizard as stated in the Windows Media Player SDK documentation. If you want to use the online store plug-in wizard, you must install it manually.

Perform the following steps to install the wizard manually.

  1. Using Windows Explorer, locate the folder where you installed the SDK. Search for the subfolder named \Wizards\Services.

    Example:

    C:\Program Files\Microsoft SDKs\Windows\vx.x\Samples\multimedia\WMP_11\Wizards\Services
    
  2. Copy the following three files to a temporary folder:

    • wmpservices2005.vsz
    • wmpservices.ico
    • wmpservices.vsdir
  3. Change the file name of the copy of wmpservices2005.vsz to wmpservices.vsz.

  4. Using Notepad, edit wmpservices.vsz. Locate the following line:

    Param="ABSOLUTE_PATH = <path to wmpservices directory goes here>"
    

    Change the value for ABSOLUTE_PATH to the path where the wizard files were copied from.

    Example:

    Param="ABSOLUTE_PATH = C:\Program Files\Microsoft SDKs\Windows\vx.x\Samples\multimedia\WMP_11\Wizards\Services"
    
  5. Locate the subfolder named vcprojects where you installed Visual Studio. Paste into this folder the three files that you copied earlier. The wizard is now installed.

SAMI style is not applied by default when using Media Foundation

If Windows Media Player uses the Windows Media Format SDK or DirectShow to render a file and the SAMIStyle property is not set, the first style defined in the SAMI file is used by default. If Windows Media Player uses Media Foundation to render a file and the SAMIStyle property is not set, no style is applied to the caption text.

Microsoft is aware of this issue and is working to provide a resolution in future releases.

Captions might not be displayed in closecap sample

In Windows Vista, the closecap sample might not display captions.

You can fix this problem by editing the following line in the ccsample.smi file

.ENUSCC {Name:'English Captions' lang: en-US; SAMIType:CC;}

Insert a semicolon after 'English Captions'. The edited line should look like this.

.ENUSCC {Name:'English Captions'; lang: en-US; SAMIType:CC;}

To find the ccsample.smi file, locate the directory where you installed the Windows SDK, and navigate to Samples\multimedia\WMP_11\media.

Player control can cause an exception with Visual Basic .NET 2002

If you use Microsoft Visual Basic .NET 2002 to create a project that embeds the Windows Media Player ActiveX control, the project may raise an exception. To avoid this issue, you must first remove (or comment out) the following line of code from the code that is generated automatically by Visual Basic .NET:

Me.AxWindowsMediaPlayer1.enabled = True

Windows Media Player 6.4 compatibility issues

You may experience changes in the behavior of the Windows Media Player 6.4 ActiveX control after installing Windows Media Player 11. For more information about compatibility, see the Windows Media Player 6.4 SDK on the Microsoft Web site.

64-bit development not supported

The Windows Media Player SDK supports 32-bit development only. 64-bit development is not supported.

Information in this document, including URL and other Internet Web site references, is subject to change without notice and is provided for informational purposes only. The entire risk of the use or results of the use of this document remains with the user, and Microsoft Corporation makes no warranties, either express or implied. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, places or events is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.

Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.

© 2006 Microsoft Corporation. All rights reserved.

Microsoft, MS-DOS, Windows, Windows NT, Windows Server, Windows Vista, Active Directory, ActiveSync, ActiveX, Direct3D, DirectDraw, DirectInput, DirectMusic, DirectPlay, DirectShow, DirectSound, DirectX, Expression, FrontPage, HighMAT, Internet Explorer, JScript, Microsoft Press, MSN, Outlook, PlaysForSure logo, PowerPoint, Visual Basic, Visual C++, Visual InterDev, Visual J++, Visual Studio, WebTV, Windows Media, Win32, and Win32s are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and/or other countries.

All other trademarks are property of their respective owners.

The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

This software is based in part on the work of the Independent JPEG Group.

GIF decompression code, copyright 1990, David Koblas. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This software is provided "as is" without express or implied warranty.