For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > January 2006 > problem with microsoft Sample Code for WMP wince









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author problem with microsoft Sample Code for WMP wince
smartslack

2006-01-17, 4:01 am

Since 12 Days I'm trying to display MPEG file in Windows CE 5.0 using
Windows Media player control . I've two sample applications(PPCWMPhost
and CEWMPHostML) by Microsoft. These compiles fine but whenever I try
to execute these they gives me run time error like Error code
80004002.And with this error applications terminates. I'd debugged many
time. But I don't understand wht is wrong here. During the search I
came to know that this error means the control may not be registered
properly. But I'm using the Windows CE 5.0 where I've embedded Windows
Media player using Platform builder 5.0. Even I can play mpeg file with
ceplayer.exe which is in Emulator (had been deployed using the Platform
builder). If ceplayer.exe working fine, then why this run time error
occurs throught the sample code by Microsoft ?
I've see the registries of device:
I found only one key regarding the windows media player and that is :

MediaPlayer.MediaPlayer.1 (it's value is "Windows Media Player")
-CLSID (it's value is
{22D6F312-B0F6-11D0-94AB-0080C74C7E95} )

both values set by me as one experties has suggested that the registry
key must be same.(Previously no value were set).

but still error is there....:((

is there any difference between desktop wmp.dll and Windows Ce wmp.dll
???
Now I really fed up I request to experties of this forum to help me
.....

Navin...

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com