Hi, I was having this same problem with the taglib library (another c++ shared library). I am 99% sure it is due to not linking using -enable-auto-import. I managed to use cmake to build taglib with -enable-auto-import during linking when building the library, and I add it when I link to taglib for my programs. It works fine now whereas without that option I was getting the exact same error message (failed to initialise properly, 0xc0000005) I think you need that option whenever you use gcc4.5.0 with c++ and shared libraries. I've been struggling to find a way to get bjam to add -enable-auto-import to all it's link stages when building boost with mingw. Can anyone help with this ? Cheers, Emyr On 07/08/10 16:46, Daniel Trebbien wrote:
Love to know what the answer is yours, John.
Well, I have one program that just uses STL and the header-only Boost Graph Library. I compiled it with MinGW GCC 4.5.0 and it runs fine. For me, the problem seems to be anything in UTF. For example, the attached minimal test case gives me the "The application failed to initialize properly (0xc0000005)" error. I compiled it with: g++ min_test.cpp -lboost_unit_test_framework-mgw45-mt-1_44.dll
I think that I will try MinGW GCC 4.4.0...
Good news! MinGW GCC 4.4.0 gets rid of this problem. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users