Harish Kumar Dixit
2008-01-22 10:24:05 UTC
I have a COM component developed using VS2005 (VC++).
This project having support for Unicode, because i set the Unicode
charaecter set. I am calling one method of IGraphBuilder interface.
But it is returning error "The filename, directory name, or volume
label syntax is incorrect".
Name of the file is in chinese charachters. say "电影.wav"
IGraphBuilderPtr spGraph = CNCOMUtils::CreateObject(CLSID_FilterGraph,
_T("CLSID_FilterGraph"));
HRESULT hrLoad = spGraph->AddSourceFilter(strPath, L"FileSource",
&spFileSource);
DWORD det = GetLastError();
here error code is 123.
please help me with this issue.
Thanks is advance.
Harish Dixit
This project having support for Unicode, because i set the Unicode
charaecter set. I am calling one method of IGraphBuilder interface.
But it is returning error "The filename, directory name, or volume
label syntax is incorrect".
Name of the file is in chinese charachters. say "电影.wav"
IGraphBuilderPtr spGraph = CNCOMUtils::CreateObject(CLSID_FilterGraph,
_T("CLSID_FilterGraph"));
HRESULT hrLoad = spGraph->AddSourceFilter(strPath, L"FileSource",
&spFileSource);
DWORD det = GetLastError();
here error code is 123.
please help me with this issue.
Thanks is advance.
Harish Dixit