Re: Loading Media Player



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.

Relevant Pages

  • Re: communicating netween applications
    ... most programs use the standard controls provided by Windows. ... except I use MFC calls. ... >>> would be the same everytime the other app and my app are run. ...
    (microsoft.public.win2000.developer)
  • Re: Loading Media Player
    ... 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. ... Microsoft Windows MobileTM version 5.0 ... Unfortunately I cannot get it to work, I tried to debug and I verified that it fails inside the MFC ...
    (microsoft.public.windowsce.embedded)
  • Hosting Windows Forms in MFC 7
    ... It was said that windows forms controls can be hosted inside MFC 7 but there ... we extended our support to include MFC 7.x and up or any ...
    (microsoft.public.vc.mfc)
  • Re: Nonsence about MFC
    ... >>You don't seem to know much about MFC, or indeed Windows at all. ... All of the above are Win32 controls. ... So our VBX support evolved into OCX and OLE automation support. ...
    (comp.lang.cobol)
  • Re: Free Online CSharp 2 Windows Course
    ... At the momemt i think there are only files for the " windows apps" course ... How .NET is Different from Traditional Programming ... Label and TextBox Controls ... Introduction to Web Services ...
    (microsoft.public.dotnet.languages.csharp)