Missing TextureReadyToRender -event

Started by
-1 comments, last by Hoover85 17 years, 9 months ago
So, the problem is, that I'm missing all the events of Video-object, like testVideo.Ending and testVideo.TextureReadyToRender. Could this be because I should make them myself or why? I was looking up some tutorials where people have used these events and I didn't see any manual made events in them, so I'm wondering where are mine events. When I type for example: testVideo. ' After the dot, there should be a list where is .TextureReadyToRender, but it's not there. This is the line of code and the error message I got: testVideo.TextureReadyToRender += New TextureRenderEventHandler(Me.RenderIt) Error 1 'Public Event TextureReadyToRender(sender As Object, e As Microsoft.DirectX.AudioVideoPlayback.TextureRenderEventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event. If the events has to be made manually, could you please tell how. Btw. I'm using Visual Basic.Net and Visual Studio 2005. [Edited by - Hoover85 on July 5, 2006 3:32:20 AM]

This topic is closed to new replies.

Advertisement