Go to find out what the definition of WCHAR is.
You are doing something you don't know.
If it's possible, convert to char.

Regards,
Wentao


----- Original Message ----- From: "Nawal Kishore Gupta" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, September 19, 2007 10:21 AM
Subject: Re: WCHAR to XmlCh


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