Sign in to follow this  
Episode6

DirectShow Windowless Mode

Recommended Posts

Episode6    122
Hi all, I have a question about DirectShow inside Borland CBuilder. I managed to get everything I need of DirectX working in Borland. I've used DirectDraw and DirectSound before. The problem I have now, is that I want to play a video in Windowless mode in Borland. This requires me to supply a HWND to the destination output for the video. Now, with DirectDraw, when I blit my image, I could simply supply a handle to an TCanvas inside a TImage, but that doesn't work for DirectShow. I tried using TFrames and TForms, and although those handles don't return an error, I'm still not getting any video on any of them. I'm already calling RepaintVideo on every OnPaint message event, so that shouldn't be the problem... has anyone implemented DirectShow into Borland already? And what did you use to render your video onto?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this