Re: Loading Media Player



It's the media player application itself. You could download the Windows CE evaluation and look at the source; it's in \WINCE500\PUBLIC\DIRECTX\SDK\SAMPLES\WMP\CEPLAYER.

This code that you're using, it was designed originally for the desktop or this was code purported to work on a PPC device?

Paul T.

"Lourenço Teodoro" <lourenco_xxi@xxxxxxxxxxx> wrote in message news:eY3gD3DBHHA.4892@xxxxxxxxxxxxxxxxxxxxxxx
Paul,

I also have one question; when looking at the Microsoft Web site, I see that there is an example named CEPlayer, is that example only available to OEMs?


I am using a Dell AXIM X 51. The about screen gives me the following information:

Microsoft Windows MobileTM version 5.0
OS 5.1.1702 (Build 143361.0.1)
Processor: Inter(R) PXA270

Please let me know if there is anything else that you need.

Thank you in advance.
Lourenço.
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com> wrote in message news:OB2q7jBBHHA.3396@xxxxxxxxxxxxxxxxxxxxxxx
I'm thinking that we're going to need help before we can do anything with that. What Windows CE version? What sort of device?

Paul T.

"Lourenço Teodoro" <lourenco_xxi@xxxxxxxxxxx> wrote in message news:ObxxFy5AHHA.2140@xxxxxxxxxxxxxxxxxxxxxxx
I wrote the following code that simply loads the Windows Media player into my ActiveX container. Unfortunately I cannot get it to work, I tried to debug and I verified that it fails inside the MFC

// This code is from OCCSite.cpp (extracted from the MFC source code).

if (dwStyle & WS_VISIBLE)
{
// control is visible: just activate it
hr = DoVerb(OLEIVERB_INPLACEACTIVATE); //HERE it returns 0x8007057e {Cannot create a top-level child window. }
}
else
{
// control is not visible: activate off-screen, hide, then move
m_rect.OffsetRect(-32000, -32000);
if (SUCCEEDED(hr = DoVerb(OLEIVERB_INPLACEACTIVATE)) &&
SUCCEEDED(hr = DoVerb(OLEIVERB_HIDE)))
{
m_rect.OffsetRect(32000, 32000);
hr = m_pInPlaceObject->SetObjectRects(m_rect, m_rect);
}
}

I would appreciate any help.

Regards,
Lourenço.

Relevant Pages

  • Re: Explorer Directory Cache Corrupted - Fixes?
    ... In the case of music folders you have ... > Windows and your default media player poking fingers at it. ...
    (microsoft.public.windowsxp.basics)
  • Re: Streaming video does not work
    ... This is my home computer and I do not have a web proxy in place. ... WMP Help did say something about Windows Firewall blocking UDP ... Opens a graphic in the Media Player window. ...
    (microsoft.public.windowsmedia.player)
  • Re: Windows Vista Business N "Media Player"
    ... I just have no knowledge or experience in licensing Windows in the EU. ... >>> install or not install media player when your are installing ... >>>>> Under our license we are supply with Windows Vista Business N ...
    (microsoft.public.windowsmedia)
  • Re: CD and DVD drive read formats
    ... Will Media Player allow me to burn "data" from my computer onto a CD? ... MS-MVP Windows Shell/User ... both drives now allow me to look at a disc contents via Windows ... You showed me where to make setting selections Under My Computer/CD ...
    (microsoft.public.windowsxp.general)
  • Re: Trouble With My WMP
    ... It seems I am unable to play back any audio file does not matter on type. ... video works, but has no sound. ... "You've encountered error message C00D11CD while using Windows Media Player. ...
    (microsoft.public.windowsmedia.player)