You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Tobias McNulty <tm...@datadesk.com> on 2002/02/04 15:41:53 UTC
Fwd: XMLString
Hi,
I'm sending this message again because I don't believe anyone replied
the first time -- and I am still clueless as to what the problem
might be, despite further investigation on my part. Any help would
be greatly appreciated!
>Hello,
>
>I am trying to use XMLString::transcode(XMLCh * in, char * out, int
>len) to convert my DOMString to C string. When I try to link to
>xerces-
>c_1D.lib on win32 I get a message that the above named function is
>an undefined symbol. I downloaded the Xerces source and rebuilt it
>in VS6 -- with the same result when I tried linking to the resulting
>library. I then looked into the problem to see if XMLString might
>not have been exported correctly, but it appears to be exported the
>same way DOMString is (which I can link to without a problem).
>
>Is this a known issue, or has anyone else had trouble with this?
>
>Thanks,
>
>Toby
--
Tobias McNulty
Data Description, Inc.
840 Hanshaw Road, Suite 9
Ithaca, NY 14850
Phone: (607) 257-1000
E-mail: tmcnulty@datadesk.com
Web: www.datadesk.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Fwd: XMLString
Posted by Tinny Ng <tn...@ca.ibm.com>.
Just a wild guess ...
The actual function is:
bool XMLString::transcode( const XMLCh* const toTranscode
, char* const toFill
, const unsigned int maxChars)
So may be the link error is related to the 3rd parameter => "const
unsigned int" versus "int"
or it's related to the return type "bool" => one has compiler built-in
bool type versus typedef to integer
...
Tinny
Tobias McNulty wrote:
> Hi,
>
> I'm sending this message again because I don't believe anyone replied
> the first time -- and I am still clueless as to what the problem
> might be, despite further investigation on my part. Any help would
> be greatly appreciated!
>
> >Hello,
> >
> >I am trying to use XMLString::transcode(XMLCh * in, char * out, int
> >len) to convert my DOMString to C string. When I try to link to
> >xerces-
> >c_1D.lib on win32 I get a message that the above named function is
> >an undefined symbol. I downloaded the Xerces source and rebuilt it
> >in VS6 -- with the same result when I tried linking to the resulting
> >library. I then looked into the problem to see if XMLString might
> >not have been exported correctly, but it appears to be exported the
> >same way DOMString is (which I can link to without a problem).
> >
> >Is this a known issue, or has anyone else had trouble with this?
> >
> >Thanks,
> >
> >Toby
>
> --
> Tobias McNulty
> Data Description, Inc.
> 840 Hanshaw Road, Suite 9
> Ithaca, NY 14850
> Phone: (607) 257-1000
> E-mail: tmcnulty@datadesk.com
> Web: www.datadesk.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org