DVD playback. HELP Please ! ! !
-
I am writing a front-end for a car PC project. I have managed to code an FM Tuner and an MP3 player by using windows messages and Winamp. My next part of the project is a DVD player. At first I thought that this would be quite easy, use WMP. So I tried and got a few of the functions working, but it keeps crashing and rebooting the computer at random times. I have read a lot about using it and everyone says that DirectX is the way to go, (well DirectShow anyway). Please could someone give me a sample piece of code for VB.net as I have searched for hours and can't find anything. Thanks in advance for any replys ;)
-
I am writing a front-end for a car PC project. I have managed to code an FM Tuner and an MP3 player by using windows messages and Winamp. My next part of the project is a DVD player. At first I thought that this would be quite easy, use WMP. So I tried and got a few of the functions working, but it keeps crashing and rebooting the computer at random times. I have read a lot about using it and everyone says that DirectX is the way to go, (well DirectShow anyway). Please could someone give me a sample piece of code for VB.net as I have searched for hours and can't find anything. Thanks in advance for any replys ;)
If you have the DVD codec installed on your PC, then WMP will do this for you just fine. If you don't, then nothing will work.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
If you have the DVD codec installed on your PC, then WMP will do this for you just fine. If you don't, then nothing will work.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
That's the strange thing. If I use WMP from the Windows Start menu it plays DVD's fine. But when I put WMP into a form in visual basic, it starts to play it, but then pauses, jumps about and crashes!
-
That's the strange thing. If I use WMP from the Windows Start menu it plays DVD's fine. But when I put WMP into a form in visual basic, it starts to play it, but then pauses, jumps about and crashes!
That's odd. It's not how your code is calling WMP ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert