Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: IWMPEvents::PositionChange returns random numbers

HTVi
TV Discussion Newsgroups

IWMPEvents::PositionChange returns random numbers
Chris 11/4/2008 3:53:01 AM
Hi,

I've used the Windows Media Player Plug-in Wizard to create a UI plugin in
C++ and I'm listening for PositionChange events.

When PositionChange fires the oldPosition and newPosition appear to be
positive or negative random numbers according to the VS.NET 2005 debugger.

The wizard set up the method as:
void STDMETHODCALLTYPE PositionChange( double oldPosition, double
newPosition);

PositionChange seems to work fine in Scripting, just not in C++. Is there
something I should have done to properly initialise things that the wizard
didn't do?

Thanks,

- Chris

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen