473,503 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cast error after compiling xerces.lib /komische TypeCast-fehler/

Hello Newsgroup,
I want to build xerces.lib (actually dynamical, but as there are many linker
errors using the dll, the static .lib version)
ich möchte die xercesc-lib erstellen.
eigentlich die dynamische, aber da ich damit eine reihe von linkerprobleme
erhalten habe, nun die statische version.

After compiling I got the following errors:
dort bekomme ich beim erstellen mittlerweile (nur noch) die fehler:
1.
com\XMLDOMDocument.cpp(1461) : error C2664: '_wfopen': Konvertierung des
Paramet
ers 2 von 'const char [3]' in 'const wchar_t *' nicht möglich
Die Typen, auf die verwiesen wird, sind nicht verknüpft; die
Konvertieru
ng erfordert einen reinterpret_cast-Operator oder eine Typumwandlung im C-
oder Funktionsformat

in der entsprechenden Zeile von com\XMLDOMDocument.cpp steht:
FILE* fp = _tfopen(file, "wt");

2.
com\XMLHTTPRequest.cpp(885) : error C2664: 'SysAllocStringByteLen':
Konvertierun
g des Parameters 1 von 'TCHAR *' in 'LPCSTR' nicht möglich
Die Typen, auf die verwiesen wird, sind nicht verknüpft; die
Konvertieru
ng erfordert einen reinterpret_cast-Operator oder eine Typumwandlung im C-
oder
Funktionsformat.

in com\XMLHTTPRequest.cpp(885) steht:
*pVal = SysAllocStringByteLen(psz,m_lResponseBodyLength);

does anybody know how I can get it running?
weiß jemand, wie ich die wegbekomme?

I use MS SDK with MS Visual C++ 2005 Express Edition.
(I have qt-win-opensource-src-4.1.1 installed so that I can compile by
typing qmake, nmake as there is a corresponding .pro-file for xerces)

thx
mh


Jul 12 '06 #1
0 1443

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
19698
by: Kaidi | last post by:
Hello guys, I get the "an invalid XML character" error when using xerces to parse a XML file. I know that XML will correspond the &, <, >, " to special strings like "&gt;&lt;". However, how about if the...
13
28231
by: Jack MacRank | last post by:
Hello, I'm coding a webform application in C# (ASP.NET 1.1 SP1 with VS.NET 2003 Pro on WinXP SP2 using IIS 5.1). I created a seperate "data" class to house all the MySQL connection and sql...
4
6386
by: Sanjay Kumar | last post by:
Folks ! I am working with VC++ after a long time and having problem linking latest xerces 2.7 in VC++ 2005 Express Edition. I have done following: 1. downloaded and unpacked the the...
2
3396
by: Vlad Zorinov | last post by:
I'm getting the following error after a couple of months of XML processing, using Xerces 2.0.0 in an apache tomcat. Does anyone have any ideas what this problem may be or what I should do to solve...
3
1915
by: Raphael Tagliani | last post by:
(english version below) Bonjour! Je travaille sur un gros projet java, qui parse beaucoup de fichiers xml au lancement d'un serveur. Nous avons un problème de concurrence qu lancement. En...
0
1924
by: Raheemulla Khan | last post by:
i have created wsdl file by running the following url http://localhost:8080/axis4/services/MyService?wsdl next i run "c:\java org.apache.axis.wsdl.WSDL2Java MyService.wsdl" it is giving...
3
1677
by: moralbarometer | last post by:
Please i intend to make an XML document from a string using tranformer as shown below. It returns an error which trace is given below as well. please help. public org.w3c.dom.Node getTextXML()...
1
1777
by: Vijay Jain | last post by:
Hi All, We have a requirement to use icc compiler instead of existing gnu compiler. Though the icc compiler states that libraries compiled with gnu are compatible to use with icc. But we would...
8
4247
by: Gamma | last post by:
I'm trying to inherit subclass from System.Diagnostics.Process, but whenever I cast a "Process" object to it's subclass, I encounter an exception "System.InvalidCastException" ("Specified cast is...
1
3485
by: Sidhartha | last post by:
Hi, I am facing a problem while parsing local language characters using sax parser. We use DOM to parse and SAX to read the source. But when our application parses strings with local language...
0
7064
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5559
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4991
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4665
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3147
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.