Re: [xml] Using libxml2 on Windows?



Be sure that your project is configured to use "Multithread DLL" run time
(Under C/C++, Code generation)
The access violation is generated because libxml2 does not found the right
memory allocation routines, probably because your current run-time
configuration does'nt match the above

Agustin

----- Original Message ----- 
From: "Ronny Seemann" <rseemann konplan com>
To: <>
Sent: Wednesday, July 14, 2004 5:15 AM
Subject: [xml] Using libxml2 on Windows?


Hello

I'm using MS Visual C++ 6.0 and I want to use libxml2 to parse
xml-documents.

I have copied the 'libxml2.dll' (version: libxml2-2.6.10.win32.zip) into
my
PATH environment (C:\Windows\system32) and added the Lib's 'libxml2.lib'
and
'libxml2_a.lib' into the LIB-directory from Visual C++.
If I try to execute the programm, I get the errormessage "iconv.dll not
found".
So, i also copied the 'iconv.dll' into my PATH and added the lib-files
into
the LIB-directory from Visual C++.
Now I get a new errormessage. "zlib.dll not found".
Ok. Same procedure (add on the DLL and the Lib's).

I can execute my programm now, but when I try to use the function
'xmlParseFile()'
(first functioncall from libxml2), I get the error "exception in Test.exe
(ZLIB.DLL): Access Violation"


Has anybody an idea whats my problem is and what can I try to do?
I'm thankful for every Note.


Greeting,
Ronny Seemann

mailto:rseemann konplan com
http://www.konplan.com


____________________________________________
Der Austausch von Nachrichten via E-Mail dient ausschließlich
Informationszwecken.
Rechtsgeschäftliche Erklärungen dürfen nicht über dieses Medium
ausgetauscht
werden.
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen
enthalten.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten haben,
informieren Sie bitte umgehend den Absender und vernichten Sie diese Mail
sofort.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe oder Verteilung
dieser Mail
ist streng verboten.

The exchange of messages in electronic format is for information purposes
only.
Legal contracts will not be enforced using this method.
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient or have received this e-mail in
error
please
notify the sender as soon as possible and destroy this e-mail immediately.
Any unauthorized copying, disclosure or distribution of the material in
this
e-mail
is strictly forbidden.


_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]