Advertisement Jump to content
Sign in to follow this  

Missing TextureReadyToRender -event

This topic is 4579 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!