This article describes the steps you must take to port your Microsoft® ActiveMovie 1.0 code to Microsoft® DirectShow®.
This article contains the following sections.
If you are recompiling your ActiveMovie 1.0 code with the DirectShow header files and libraries, you must make the following changes.
The old prototype for the constructor was:
CBasePropertyPage(TCHAR *pName,       // Debug only name
                      LPUNKNOWN pUnk, // COM Delegator
                      HRESULT *phr,   // Return code
                      int DialogId,   // Resource ID
                      int TitleId);   // To get title
The new prototype is:
CBasePropertyPage(TCHAR *pName,        // Debug only name
                      LPUNKNOWN pUnk,  // COM Delegator
                      int DialogId,    // Resource ID
                      int TitleId);    // To get title
Some interfaces and services in ActiveMovie 1.0 have been improved in DirectShow. You should use the following improved interfaces and services.
You can set the Microsoft® Windows Media Player control to ActiveMovie mode. Then use the Windows Media Player control as you did the old control.
For more information about the Windows Media Player, see the Windows Media Player control documentation.
 Top of Page
 Top of Page
	
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.