Re: How to control MediaPlayer to play,pause,stop and view the palylist in PocketPC with an embeded win32 program.
- From: "Jason Yan" <yanzhw@xxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 11:04:31 +0800
I have installed the WMP 10 SDK , the WmpML.exe can synchronize the
MediaPlayer program well, and when i try to migrate the WmpML sample to
PocketPC, but failed with the following build errors:
D:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\atlhost.h(43) : fatal error C1189: #error :
atlhost.h requires Hosting support (_ATL_NO_HOSTING is defined). For
Windows CE platforms without DCOM support,
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA needs to be defined.
MainDlg.cpp
D:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\atlhost.h(43) : fatal error C1189: #error :
atlhost.h requires Hosting support (_ATL_NO_HOSTING is defined). For
Windows CE platforms without DCOM support,
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA needs to be defined.
PopDlgs.cpp
D:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\atlhost.h(43) : fatal error C1189: #error :
atlhost.h requires Hosting support (_ATL_NO_HOSTING is defined). For
Windows CE platforms without DCOM support,
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA needs to be defined.
RemoteHost.cpp
d:\visual studio 2005\projects\WmpML\WmpML\RemoteHost.h(13) : fatal error
C1083: Cannot open include file: 'wmp.h': No such file or directory
Generating Code...
^^^^^For Windows CE platforms without DCOM support !
and i want a Win32 program without dialog to control Mediaplayer, what can
i do?
any sample code can run in PocketPC?
Thanks!
"Neil Smith [MVP Digital Media]" <neil@xxxxxxxxxx>
??????:8au8h1lppg69cu16lq50bspkcpu3f559ah@xxxxxxxxxx
> On Tue, 30 Aug 2005 20:59:53 +0800, "Jason Yan" <yanzhw@xxxxxxxxxxx>
> wrote:
>
>>My development entironment is Visual Sutido 2005 Beta2 with Windows Mobile
>>5.0 Pocket PC SDK.
>
> This is the problem with providing no information, you get useless
> answers. The 5.0 PPC SDK hosts Media Player 10 object model.
>
>>and the sample gived by Windows Media Player CE SDK.exe doesn't work
>>well,with build errors.
>
> You need to reference the WMP10 SDK instead of the 6.4 SDK I shows
> you, which is used for earlier WM2002 and WM2003 models hosting media
> player.
>
>>My question is ,how can i write an othre Win32 Smart Device Program to
>>control the MediaPlayer just play,stop,pause and get the Playlist.
>>
>>and the State and Notifications Broker will give me the notification.but
>>how can i control the MediaPlayer active.
>>
>>
>>Any idea will be helpful.
>>
>>"Neil Smith [MVP Digital Media]" <neil@xxxxxxxxxx>
>>??????:lj78h11tcbhpffhju74bqtado9iq9a3r20@xxxxxxxxxx
>>> On Tue, 30 Aug 2005 16:05:05 +0800, "Jason Yan" <yanzhw@xxxxxxxxxxx>
>>> wrote:
>>>
>>> http://www.pocketpcdn.com/libraries/wmp.html
>>> PS Pocket PC doesn't support Win32 APIs, it's a CE device.
>>>
>>> Cheers - Neil
>>
>
.
- Follow-Ups:
- Re: How to control MediaPlayer to play,pause,stop and view the palylist in PocketPC with an embeded win32 program.
- From: Neil Smith [MVP Digital Media]
- Re: How to control MediaPlayer to play,pause,stop and view the palylist in PocketPC with an embeded win32 program.
- References:
- Re: How to control MediaPlayer to play,pause,stop and view the palylist in PocketPC with an embeded win32 program.
- From: Neil Smith [MVP Digital Media]
- Re: How to control MediaPlayer to play,pause,stop and view the palylist in PocketPC with an embeded win32 program.
- From: Jason Yan
- Re: How to control MediaPlayer to play,pause,stop and view the palylist in PocketPC with an embeded win32 program.
- From: Neil Smith [MVP Digital Media]
- Re: How to control MediaPlayer to play,pause,stop and view the palylist in PocketPC with an embeded win32 program.
- Prev by Date: Re: How to control MediaPlayer to play,pause,stop and view the palylist in PocketPC with an embeded win32 program.
- Next by Date: HP CF Camera F1869-60001 on a Dell Axim X5?
- Previous by thread: Re: How to control MediaPlayer to play,pause,stop and view the palylist in PocketPC with an embeded win32 program.
- Next by thread: Re: How to control MediaPlayer to play,pause,stop and view the palylist in PocketPC with an embeded win32 program.
- Index(es):
Relevant Pages
|