From: Gunnar Roth on
Peter Gordon wrote:

>I am using pure Unicode.
>
>If I have
>
>GetNamedSecurityInfoW(L"c:\\temp\a",......
>
>the code works.
>
>If I have
>s = wxString(_T("c:\\temp\\a")) ;
>GetNamedSecurityInfoW(s.c_str(),...
>
>it fails.
>
>
So if you use "pure" unicode and not the standard tchar based
mechanisms,you should write that code:

s = wxString(L"c:\\temp\\a") ;
GetNamedSecurityInfoW(s.wc_str(),...

regards,
gunnar




---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org

First  |  Prev  | 
Pages: 1 2
Prev: Linking errors
Next: wxwidget 2.6.2 and mysql 4.1.11