472,960 Members | 1,851 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,960 software developers and data experts.

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
1 2195
Martin Himmel wrote:
[..]
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");
You seem to be using a non-standard function. We don't discuss them
here. Please try 'microsoft.public.vc.language'.
[..]
I use MS SDK with MS Visual C++ 2005 Express Edition. [..]
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jul 12 '06 #2

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

Similar topics

3
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
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
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
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
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
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
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
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
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
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
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.