Michael Schwab
2005-01-05 20:35:37 UTC
I'm trying to run the usual DirectShow example with eVC++ 4.0 on CE 4.2.
The CoInitialize, CoCreateInstance, and RenderFile are working, and a blank
window appears to be positioned correctly, but when I try
hr = pMediaControl->Run();
if (FAILED(hr))
it fails, and GetLastError returns error 8 - Not enough storage to process
this command.
I tried this with 3 different files (2 mpg, 1 avi, running from 1 to 6 Mb)
all of which play under MediaPlayer (on CE) just fine.
What kind of "storage" is this error referring to? When I go to
ControlPanel->System Memory tab, I have plenty of both storage and program
memory available (40 Mb each) - more than enough to hold the entire movie
file!
BTW, the same code works just fine under WinXP with DirectX 9.0b.
My PB build has all DirectShow stuff included, and I believe this example
was working last summer, when I last tried it.
Any suggestions on how to fix this?
Michael Schwab
The CoInitialize, CoCreateInstance, and RenderFile are working, and a blank
window appears to be positioned correctly, but when I try
hr = pMediaControl->Run();
if (FAILED(hr))
it fails, and GetLastError returns error 8 - Not enough storage to process
this command.
I tried this with 3 different files (2 mpg, 1 avi, running from 1 to 6 Mb)
all of which play under MediaPlayer (on CE) just fine.
What kind of "storage" is this error referring to? When I go to
ControlPanel->System Memory tab, I have plenty of both storage and program
memory available (40 Mb each) - more than enough to hold the entire movie
file!
BTW, the same code works just fine under WinXP with DirectX 9.0b.
My PB build has all DirectShow stuff included, and I believe this example
was working last summer, when I last tried it.
Any suggestions on how to fix this?
Michael Schwab