Actually the C99 standard defines a wchar_t type which can be used for wide
characters. You probably will need to typecast your wchar_t* to XMLCh*.

Keith

On 9/19/07, Nawal Kishore Gupta <[EMAIL PROTECTED]> wrote:
>
> I think linux also has wchar with #include <wchar.h>
>
>
> Alberto Massari wrote:
>
> > At 19.23 19/09/2007 +0530, Nawal Kishore Gupta wrote:
> >
> >> I am passing const WCHAR only
> >
> >
> > WCHAR is a Windows type; how do you define it on Linux?
> >
> > Alberto
> >
> >
> >> Regards,
> >>
> >> Nawal
> >>
> >> Wentao Deng wrote:
> >>
> >>> How do you call XercesDOMParser::parse?
> >>> The parameter should be const XXX *,
> >>> not const XXX *&.
> >>>
> >>> Regards,
> >>> Wentao
> >>>
> >>>
> >>> ----- Original Message ----- From: "Nawal Kishore Gupta"
> >>> <[EMAIL PROTECTED]>
> >>> To: <[email protected]>
> >>> Sent: Wednesday, September 19, 2007 4:35 AM
> >>> Subject: WCHAR to XmlCh
> >>>
> >>>
> >>>> Dear All,
> >>>>
> >>>> What is the best way to covert  WCHAR to XMLCh in Linux /Unix build.
> >>>>
> >>>> I am getting the following error:
> >>>> error: no matching function for call to
> >>>> `xercesc_2_7::XercesDOMParser::parse(const WCHAR*&)'
> >>>>
> >>>> but same thing works fine in Windows unicode and non unicode build.
> >>>>
> >>>>
> >>>> Regards,
> >>>>
> >>>> Nawal
> >>>
>
>

Reply via email to