Guest_imported
New member
- Jan 1, 1970
- 0
Hi.,
I am new to directshow.
The RenderFile() function returns a (0x80040216) error message for the following method:
hr = graph->RenderFile (filename,NULL);
It works fine if I hard code the path like
hr = graph->RenderFile (L"c:\\vmsencoding1\\movies\\stage\\10404.mpg", 0);
I tried to declare filename as LPOLESTR ,LPCWSTR ,wchar_t*,
_TCHAR* and tried various castings too withourt any development.
Awaiting for a reply as this is a bit Urgent.
srini
I am new to directshow.
The RenderFile() function returns a (0x80040216) error message for the following method:
hr = graph->RenderFile (filename,NULL);
It works fine if I hard code the path like
hr = graph->RenderFile (L"c:\\vmsencoding1\\movies\\stage\\10404.mpg", 0);
I tried to declare filename as LPOLESTR ,LPCWSTR ,wchar_t*,
_TCHAR* and tried various castings too withourt any development.
Awaiting for a reply as this is a bit Urgent.
srini