
On Fri, 05 Sep 2008 08:47:08 +0200, <aidforsoft@mail.ru> wrote: Hi Ilya,
[...]I found same problems in Internet - impossible to wrap native DLLs, used Boost. All this problems were unsolved. Such as: http://objectmix.com/dotnet/121318-not-valid-win32-application-exception-hre...
as it turns out you are referring to a thread which I had started. Looking at that thread I think I solved the problem by moving #include <boost/thread/mutex.hpp> from a header file to a .cpp file (so the C++/CLI project which includes the header files of my native C++ project doesn't include this Boost header anymore). At least I can and do ship a .NET library built on top of a C++ DLL which uses Boost 1.34.1. I'm not sure if your problem is similar to mine but I could fix mine. Boris