Jump to content
  • Advertisement
Sign in to follow this  
Hoover85

Missing TextureReadyToRender -event

This topic is 4424 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!