From: Philipp K. <lib...@py...> - 2004-02-05 16:51:52
|
Hi all, I tried to compile and run libxml++ in version 1.0.1 under Windows XP (MS Visual C++ 6). I developed an application using this library. This compiles fine but when I run the application I get "The application failed to initialize properly (0xc0000022). Click OK to terminate the application." After checking my application I tried the dom_xpath example program (using the supplied MSVC6 project) and I got exactly the same error message. I'm using libxml++-1.0.1 (compiled using the supplied MSVC project), libxml2-2.6.5 (compiled using nmake and the makefile.vc in the distribution) and libiconv-1.7 (binary version included in the binary Sablotron distribution). The OS is WinXP with SP1. VC++ is version 6.0. Has anyone used libxml++ on Windows XP before (I suppose yes because there is a workspace with all example projects in the win32_msvc6 folder)? Is the error message mentioned before known to somebody? What does it mean? Please note that I'm not very familiar with Windows development, my applications get developed under Linux but this one must be used under Win32 too, so I'm obliged to care about this. Thanks to everyone in advance. Philipp |
From: Ephraim V. <ef...@ep...> - 2004-02-05 18:00:52
|
I tested 1.0.1 on win2k and the example runs fine. I used libxml 2.6.5 and iconv 1.9.1 prebuilt binaries - both from http://www.zlatkovic.com/libxml.en.html Note that with the latest builds of libxml2 you also need zlib.dll to run the programs. (headers and library are not used) First try to use a more updated iconv, then make sure you compiled libxml2 with thread support, I'm not sure if this is the default, but this is the setting in the prebuilt binaries. -eff ----- Original Message ----- From: "Philipp Klaus" <lib...@py...> To: <lib...@li...> Sent: Thursday, February 05, 2004 6:51 PM Subject: [libxml++] Running under Windows XP? > Hi all, > > I tried to compile and run libxml++ in version 1.0.1 under Windows XP > (MS Visual C++ 6). I developed an application using this library. This > compiles fine but when I run the application I get > > "The application failed to initialize properly (0xc0000022). Click OK to > terminate the application." > > After checking my application I tried the dom_xpath example program > (using the supplied MSVC6 project) and I got exactly the same error message. > > I'm using libxml++-1.0.1 (compiled using the supplied MSVC project), > libxml2-2.6.5 (compiled using nmake and the makefile.vc in the > distribution) and libiconv-1.7 (binary version included in the binary > Sablotron distribution). The OS is WinXP with SP1. VC++ is version 6.0. > > Has anyone used libxml++ on Windows XP before (I suppose yes because > there is a workspace with all example projects in the win32_msvc6 > folder)? Is the error message mentioned before known to somebody? What > does it mean? > > Please note that I'm not very familiar with Windows development, my > applications get developed under Linux but this one must be used under > Win32 too, so I'm obliged to care about this. > > Thanks to everyone in advance. > > Philipp > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Libxmlplusplus-general mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libxmlplusplus-general > |
From: Christophe de V. <cde...@al...> - 2004-02-05 18:07:07
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ephraim Vider wrote: | | First try to use a more updated iconv, then make sure you compiled | libxml2 with thread support, I'm not sure if this is the default, | but this is the setting in the prebuilt binaries. I think it's the default since version 2.5.7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAIoZSB+sU3TyOQjARAkC5AJ46oXau56Zakaw4CTg4iYLOUWlJbQCg5/Jk fWH85qDvgi4FSeIf4ScoHv0= =Ek4x -----END PGP SIGNATURE----- |
From: Philipp K. <lib...@py...> - 2004-02-06 14:42:33
|
Hi Ephraim, thank you for your help. > I used libxml 2.6.5 and iconv 1.9.1 prebuilt binaries - both from > http://www.zlatkovic.com/libxml.en.html > Note that with the latest builds of libxml2 you also need zlib.dll to run > the programs. (headers and library are not used) > > First try to use a more updated iconv, then make sure you compiled libxml2 > with thread support, I'm not sure if this is the default, but this is the > setting in the prebuilt binaries. I used now the precompiled binaries from zlatkovic.com but still get the same annoying error message. I compiled the first five examples projects in the workspace but each of them produces the this error message, always with the same "address" (?) of 0xc0000022. To repeat, this is the message I get: "The application failed to initialize properly (0xc0000022). Click OK to terminate the application." Does anybody know what the error message means? What's the sense of that address? Is this from the loader, from the C++ initialization stage or is already normal code running? I get that same error message even when I start the demo applications with the debugger (the one built into MSVC-6), but perhaps that's because I don't know how to handle the debugger, it feels strange if you're used to gdb :-) Thanx Philipp |
From: Ephraim V. <ef...@ep...> - 2004-02-08 09:15:01
|
Hi, take a look at: http://www.cygwin.com/ml/cygwin/2002-12/msg00686.html it seems this message has to do with file access permissions. do the dlls have the correct access permissions? are they accessible at all in the path? -eff ----- Original Message ----- From: "Philipp Klaus" <lib...@py...> To: <lib...@li...> Sent: Friday, February 06, 2004 4:42 PM Subject: Re: [libxml++] Running under Windows XP? > Hi Ephraim, > > thank you for your help. > > > I used libxml 2.6.5 and iconv 1.9.1 prebuilt binaries - both from > > http://www.zlatkovic.com/libxml.en.html > > Note that with the latest builds of libxml2 you also need zlib.dll to run > > the programs. (headers and library are not used) > > > > First try to use a more updated iconv, then make sure you compiled libxml2 > > with thread support, I'm not sure if this is the default, but this is the > > setting in the prebuilt binaries. > > I used now the precompiled binaries from zlatkovic.com but still get the > same annoying error message. I compiled the first five examples projects > in the workspace but each of them produces the this error message, > always with the same "address" (?) of 0xc0000022. > > To repeat, this is the message I get: > "The application failed to initialize properly (0xc0000022). Click OK to > terminate the application." > > Does anybody know what the error message means? What's the sense of that > address? Is this from the loader, from the C++ initialization stage or > is already normal code running? > > I get that same error message even when I start the demo applications > with the debugger (the one built into MSVC-6), but perhaps that's > because I don't know how to handle the debugger, it feels strange if > you're used to gdb :-) > > > Thanx > > Philipp > > |
From: Philipp K. <lib...@py...> - 2004-02-09 12:44:10
|
Hi Ephraim, > take a look at: http://www.cygwin.com/ml/cygwin/2002-12/msg00686.html > it seems this message has to do with file access permissions. > > do the dlls have the correct access permissions? > are they accessible at all in the path? Thanks a lot, that helped. One of the DLLs (a downloaded binary one) hadn't set the executable flag. I searched on Google for the error message and probably got that page as a result too but looked over it because the error occured only in MSVC and explicitly NOT in cygwin. Cool operating system giving a developer hints like that if something went wrong... ;-) Thanks again. Philipp |