473,657 Members | 2,627 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\XMLDOMDocum ent.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_cas t-Operator oder eine Typumwandlung im C-
oder Funktionsformat

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

2.
com\XMLHTTPRequ est.cpp(885) : error C2664: 'SysAllocString ByteLen':
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_cas t-Operator oder eine Typumwandlung im C-
oder
Funktionsformat .

in com\XMLHTTPRequ est.cpp(885) steht:
*pVal = SysAllocStringB yteLen(psz,m_lR esponseBodyLeng th);

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 1450

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

Similar topics

3
19776
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 XML file really needs to contain some text like: "&#x3;&#x4;&#x14;&#x8;&#x8;"? (as content of a tag) The story is: I am writing a program to parse some XML files from another program. In that program, it graps webpages, and saves the pages'...
13
28253
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 command methods. This is exactly what the Microsoft Data Access Application Block assembly does but I coded my own simple, custom class. I have a method named "ExecuteAggregate" that takes in a sql string like
4
6400
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 library: http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-windows_2000-msvc_60.zip
2
3401
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 it? cheers, Vlad The exception is... tv.ditg.sdl.ParsingException: tv.ditg.sdl.ParsingException:
3
1934
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 fait, il s'agit d'une erreur Xerces FWK005, et nous sommes incapables de trouver d'où elle provient dans le code. Nous avons déjà essayé de rendre toutes les méthodes qui appellent Xerces synchronized, mais celà
0
1943
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 following error org.xml.sax.SAXException: Fatal Error: URI=file:///E:/Personal/SMat/My%20Fav/We Services/axis/axis-1_4/samples/userguide/example3/MyService.wsdl Line=2: Conten is not allowed in prolog. at...
3
1698
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() { try { javax.xml.transform.dom.DOMResult domresult=new
1
1799
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 prefer to re-compile the xerces code with icc compiler. So I would like to know if someone has experience of compiling the xerces c code with icc compiler? Are there any known issues that needs to be taken care of during compilation with icc?...
8
4264
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 not valid"). How do I fix it ? using System.Diagnostics; .. .. class NewProcess: Process {
1
3496
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 especially czech,polish,turkish in place of local language character some other word is comming. Eg: Input string :ahoj, jak se máš Output string :ahoj, jak se m&aacute;š
0
8825
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6163
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4151
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1953
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1611
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.