Hi all,
I'm trying to create an application for an iPAQ that uses PocketPC 2003
SE. The application should use the ActiveX controller provided by
Windows Media Player 10 SDK. I've installed the WMP SDK, the PPC2003SE
SDK and eVC++ 4.0 SP4.
I've followed the instructions on
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/embeddingtheplayercontrolinanmfcproject.asp.
The wmp ActiveX controller isn't found in the "Add to project >
Components and controls..." dialog, so I use the "Add control" button to
locate and add the wmp.dll from c:\windows\system32. Is this correct?
I've got a suspicion that the control added should be the wmp.ocx, but
when trying to add that one, I get an error message saying
"Failed to find desktop version of control in registry. Please verify
that this control has been successfully registered on the desktop."
How do I register the wmp ocx so that eVC++ finds it? Do I need to
reinstall the WMP 10 SDK?
However, after adding the .dll file to the project, a WMP icon appears
in the toolbox of eVC++ and I'm able to add it to my form and assign
buttons etc to it. But when deploying the application to my Pocket PC,
the WMP component isn't there and the buttons have no effect. Is this
because I use the .dll instead of the .ocx?
Any ideas on how to get this thing working?
Best regards,
Fredrik Boström