All Forums
 Microsoft Windows CE
 .NET Application Development
 "Class not registered" with ActiveX Control Host
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

ibishop

0 Posts

Posted - 17 Apr 2007 :  20:12:43  Show Profile
Hi there, I am trying to use the Windows Media Player ActiveX control host as described on this page:

http://msdn2.microsoft.com/en-us/library/aa446515.aspx

It works fine in my device emulators, but when I try to run on my BitsyXb dev kit I get a "Class not registered" error. with this stacktrace:

System.Runtime.InteropServices.COMException was unhandled
Message="Class not registered "
ErrorCode=-2147221164
StackTrace:
at System.Windows.Forms.AxHost.CoCreateInstance()
at System.Windows.Forms.AxHost.CreateWithoutLicense()
at System.Windows.Forms.AxHost.CreateInstanceCore()
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo()
at System.Windows.Forms.AxHost.GetOcx()
at System.Windows.Forms.AxHost..ctor()
at System.Windows.Forms.AxHost..ctor()
at AxWMPLib.AxWindowsMediaPlayer..ctor()
at ControlHostingSample.MediaPlayer.InitializeComponent()
at ControlHostingSample.MediaPlayer..ctor()
at ControlHostingSample.frmMain.btnMediaPlayer_Click()
at System.Windows.Forms.Control.OnClick()
at System.Windows.Forms.Button.OnClick()
at System.Windows.Forms.ButtonBase.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at ControlHostingSample.frmMain.Main()

Hopefully this isn't a total newbie question, but can anyone assist? If you'd like to try reproducing it, just grab the demo from that webpage and run it.

Thanks, Ian

jnosek

3 Posts

Posted - 18 Apr 2007 :  11:48:06  Show Profile  Email Poster
This is a topic that would best be handled by e-mailing ADS Support at support.us@eurotech.com. Please include the number of the build you are using in your e-mail.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000