pustekuchen 0 Posted August 4, 2022 Hello folks, at the moment i'm trying to create an delphi application which uses a C++-Package with some C++ Projects. Boost 1.79 openssl (master) Asio 1.18.2 websocketpp 0.8.2 The Problem is that exception appear while locking a mutex. Most times there is no problem. The destructor is called after running through do_dispatch where the mutex will be locked and unlocked. At some point after calling op->complete the mutex seems to be broken/uninitialized and the next lock will cause the exception. What could cause this behavior? A normal C++-Application with nearly the same code is working fine. I'm compiling with ASIO_STANDALONE, _WEBSOCKETPP_NO_CPP11_FUNCTIONAL_ (this is needed because the bcc32c have a problem with std::bind) Quote [bcc32c Fehler] tuple(296): no member named 'value' in 'std::is_convertible<const std::tuple<std::function<void (const std::error_code &)> > &, std::function<void (const std::error_code &)> >' with kind regards Marc Share this post Link to post
pustekuchen 0 Posted August 11, 2022 this problem was also solved with the fix in Share this post Link to post