PDA

View Full Version : IDVDControl2->SelectAtPosition(ActivateAtPosition) AccessViolation in Renderless mode


davidhu
07-21-2008, 05:52 PM
I'm having a issue with the IDVDControl2 Interface in my DVD Player application. I've run the VMR9 in Windowless mode, and everything worked fine.


but i call follow method ,it will throws exceptions(OS is XP, DS is 9.0C):

SelectAtPosition
ActivateAtPosition

Every other IDVDControl2 call works fine it seems. but it will throw exceptions when run it in mouse message function.


I've checked that Renderless mode runs the rendering loop on a seperate thread, so it shouldn't be threading related.

I've also tried giving it any coordinate set of 10,12(in SelectAtPosition) in case something went wrong with the coordinates - didn't change a thing.



I have implemented new VMR Allocator, and that class have inplemented IVMRSurfaceAllocator9,IVMRImagePresenter9, IVMRImageCompositor9.

it always run there and throws exceptions from it, but I have no idea about it


I thanks in advance for any help you can give!



davidhu

shenulal
09-30-2008, 09:40 PM
hai, i have seen you this forum. I hope you will read this post and help me. I am now developing a dvd player with the help of DirectShow, D3DImage and WPF. I have done all the functionalities and a small problem arises in my application is that when i use SelectAtPosition() the menu button is not highlighting. But i can activate the button and the chapter/title selected through mouse will work firmly. Will you give me any idea to solve this issue?

Thanks and Regards,
Shenu Lal