Thank you, I opened ticket #11403 with this issue.

Markus

Gesendet mit AquaMail für Android
http://www.aqua-mail.com

Am 12. Juni 2015 21:56:11 schrieb Emil Dotchevski <emildotchevski@gmail.com>:

On Fri, Jun 12, 2015 at 12:09 AM, Markus Pieper <onkelhotte@gmx.de> wrote:
My job is to create a WPF GUI, that uses this lib. For that, I created a
C++ CLR DLL which interacts as a wrapper between .NET GUI and the unmanaged
libs.

Thank you for reporting this -- the person replying on stack overflow is right to think it looks suspicious, I put that static exception_ptr object in there and it looks suspicious to me too. :)

At first glance it seems that the "static" in get_static_exception is there by mistake, probably it was important in an earlier version of the code but now the only place it's called is in the initialization of static objects so it does seem redundant. Please open a ticket for this, I'll investigate closer.

That said, it is very suspicious that removing that "static" fixes your problem. Perhaps it's a good idea for you to investigate that too, it may be a symptom of something else going wrong in your program.

--
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users