Discussion:
Unicode problem
(too old to reply)
Harish Kumar Dixit
2008-01-22 10:24:05 UTC
Permalink
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
The March Hare [MVP]
2008-01-22 15:14:20 UTC
Permalink
Post by Harish Kumar Dixit
I have a COM component developed using VS2005 (VC++).
This project having support for Unicode, because i set the Unicode
This newsgroup is no longer active. Please see

http://tmhare.mvps.org/help.htm#where

to find the active dshow newsgroups and post in the most appropriate one.

Please do not multi-post.

See: http://tmhare.mvps.org/help.htm#mp
--
Microsoft MVPs: http://www.microsoft.com/mvp and
MVPs.org site http://www.mvps.org
My dshow site: http://tmhare.mvps.org
Loading...