Re: Loading Media Player
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Thu, 9 Nov 2006 15:53:13 -0700
Same place as every other Microsoft download, www.microsoft.com/downloads. You can probably also find a link from www.microsoft.com/embedded. You want the Windows CE 5.0 Evaluation Kit (or Edition, depending on which place you look for it), with Platform Builder.
I'm not sure what's up with the code. CE may not be able to do what you're trying to do or something, but I'm not familiar enough with trying to use controls on CE to pick out the answer.
Paul T.
"Lourenço Teodoro" <lourenco_xxi@xxxxxxxxxxx> wrote in message news:%23ViRYCFBHHA.4592@xxxxxxxxxxxxxxxxxxxxxxx
Paul,
Could you please let me know where I can download this evaluation?
Regarding to the code that I posted, I created using EVC directly. I simply selected the MFC Application and checked the check box for ActiveX controls.
Again, thank you for your prompt response.
Louren'co.
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com> wrote in message news:ewITqREBHHA.4212@xxxxxxxxxxxxxxxxxxxxxxx
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.
- Follow-Ups:
- Re: Loading Media Player
- From: Lourenço Teodoro
- Re: Loading Media Player
- References:
- Re: Loading Media Player
- From: Paul G. Tobey [eMVP]
- Re: Loading Media Player
- From: Lourenço Teodoro
- Re: Loading Media Player
- From: Paul G. Tobey [eMVP]
- Re: Loading Media Player
- From: Lourenço Teodoro
- Re: Loading Media Player
- Prev by Date: Re: Loading Media Player
- Next by Date: Re: NETCF2 included but not built
- Previous by thread: Re: Loading Media Player
- Next by thread: Re: Loading Media Player
- Index(es):
Relevant Pages
|