Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

trouble with events

19 views
Skip to first unread message

Manuel D. Jim?nez

unread,
Jan 7, 2005, 5:45:58 AM1/7/05
to
Hi,

we are developing an ActiveX control which plays a video streaming. We
have used Visual Studio .net wizard to develop almost all the control
interface, however we have trouble with event firing, because some
events are not fired.

If the users does 'Play' then the control starts a thread playing the
video and fires an event called 'playing'. While this secondary thread
is playing the video, the main thread is waiting for any new user
actions. Sometimes, the secondary thread finds some info into the
video which have to be shown to the user, for instance, a video
resizing. In that case, event 'videosize' will be fired. When user
does 'Stop', the main thread stops the secondary thread and fires the
event 'stopped'.

So, the events 'playing' and 'stopped' are fired, the problem is that
the video info events (such as 'videosize') are not fired. Instead,
the following message is shown on the output window:

Warning: constructing COleException, scode = E_UNEXPECTED ($8000FFFF).
First-chance exception at 0x793ca4e1 in iexplore.exe: Microsoft C++
exception: COleException @ 0x038ef190.

Do you know what is happening?

Thank you, and best regards,

Manuel

0 new messages