Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Tue, 22 Jan 2008 02:23:53 -0800 (PST),    group: microsoft.public.win32.programmer.directx.sdk        back       


Unicode problem   
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
date: Tue, 22 Jan 2008 02:23:53 -0800 (PST)   author:   Harish Kumar Dixit

Re: Unicode problem   
On Tue, 22 Jan 2008 02:23:53 -0800 (PST), Harish Kumar Dixit wrote:

> I have a COM component developed using VS2005 (VC++).
> This project having support for Unicode, because i set the Unicode
...

Also posted to:

	microsoft.public.win32.programmer.directx.video 

Please do not multi-post.

See:   http://tmhare.mvps.org/help.htm#mp

-- 
Please read this before replying:
1. Dshow & posting help:  http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others:  follow up if you are helped or you found a solution
date: Tue, 22 Jan 2008 08:06:21 -0700   author:   The March Hare [MVP] erland

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us