|
Boost Users : |
Subject: [Boost-users] C# application crashes due exception in exception_ptr.hpp
From: Markus Pieper (onkelhotte_at_[hidden])
Date: 2015-06-12 03:09:14
Hi there,
I´m new to boost so this might be a silly question.
We have a simulation that is written in C++ and compiled as a static lib.
It uses a few boost (v1.56) functions like thread.
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.
Everything works fine but closing my program results in a crash. This crash
is described here: http://stackoverflow.com/questions/8144630/mixed-mode-c-
cli-dll-throws-exception-on-exit
And someone replied, that the reason for this lies in the exception_ptr.hpp
beacause a "static exception_ptr ep" is being used instead
of "exception_ptr ep".
When I delete the static attribute, my program ends normally without )É
Í ¸()5äÕ¹ÉÍÑ
¹¥¹½¬¬¥Ì¹½ÐÑ¡
Ð¥°Í¼$
»
ÑÐÍ
äÝ¡ä¥ÐÉ
Í¡Ì)¡É¸ ÕÐÑ¡½½ÍÐÁɽÉ
µµÉÌ¡
ÙÉ
ͽ¸Ñ¼¼Í¼¸()$
±Í¼½±±½ÝQ¡Í
Ù¥Ì(¡¡ÑÑÀ輽ѡÉ
¹µ
¹¹½É½µ
¹¹½µÀ¹±¥¹½½ÍйÕÍȼÐÐÔÄÔ¤ÕÐÝ¥Ñ ¹¼)ÕÉѡȱլ¸() ÍÐÉ
ÉÌ°)5
ÉÕÌ(
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net