On Fri, Jun 12, 2015 at 12:09 AM, Markus Pieper
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. -- Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode