endether
July 25th, 2005, 09:06 AM
I don't know if it is appropriate to ask this question here. It seems that many people here talk more about graphics programming, But I can't find the section for MultiMedia development. As DirectShow is part of DirectX, I beleive someone can help me here. so there are my questions:
1:
PlayWnd is a sample program in DirectShow(DirectX 9.0c SDK). I tried to compile and debuged it in MS VS.Net 2002. When I use it to open an video file, a dialog titled"Protection Error" pops up and says that:
"Debuger detected - please close it down and restart!"
"Windows NT users: Please note that having the WinICE/SoftIce service installed means
that you are running a debugger!"
when I close this dialog, the program aborted.
I set many break point and found that errors occur in
member function of IMediaControl ---- Run()
But in fact, I've never install softwares which are like WinICE/SoftIce.
Why the error ocuurs?
When I run the exe file in Debug directory, no error ocuurs.
And debugging in another computer, there is no error too.
Why!?
2:
I use VMR implement a program to play video file in Windowless mode.
The program run correctly in my computer, but when it run on another compter.
the DShow create a new window to display video file but not in Windowless mode.
Why it create a new window???
Please help...
1:
PlayWnd is a sample program in DirectShow(DirectX 9.0c SDK). I tried to compile and debuged it in MS VS.Net 2002. When I use it to open an video file, a dialog titled"Protection Error" pops up and says that:
"Debuger detected - please close it down and restart!"
"Windows NT users: Please note that having the WinICE/SoftIce service installed means
that you are running a debugger!"
when I close this dialog, the program aborted.
I set many break point and found that errors occur in
member function of IMediaControl ---- Run()
But in fact, I've never install softwares which are like WinICE/SoftIce.
Why the error ocuurs?
When I run the exe file in Debug directory, no error ocuurs.
And debugging in another computer, there is no error too.
Why!?
2:
I use VMR implement a program to play video file in Windowless mode.
The program run correctly in my computer, but when it run on another compter.
the DShow create a new window to display video file but not in Windowless mode.
Why it create a new window???
Please help...