|
Boost Users : |
Subject: Re: [Boost-users] Adding C++/CLI code to my project makes app crash on startup
From: Michael Powell (mwpowellhtx_at_[hidden])
Date: 2017-12-06 05:31:07
On Tue, Dec 5, 2017 at 12:01 PM, Sergio Basurco via Boost-users
<boost-users_at_[hidden]> wrote:
> Hi,
>
> I'm using Boost 1.65.1 with Visual Studio 2015 (v140 compiler). Also, I'm
> using the following libs dynamically:
>
> boost_unit_test_framework
> boost_log
> boost_filesystem
> boost_thread
> boost_system
> boost_log_setup
> boost_chrono
> boost_date_time
> boost_regex
>
> And I want to add C++/CLI code which is built with /clr. This used to work
> with v110 and Boost 1.57. Now I'm getting this error just when launching the
> application.
>
> 0xc000007b
>
> All binaries are 32bits. I'm also using the following define:
> BOOST_ALL_DYN_LINK
>
> Any idea on why this may happen?
I'm not sure what you mean by "adding C++/CLI". CLI is strictly
.NET-isms shimming atop C++. Literally the CLR supported atop C++.
Link order is important CLI or not. You should be able to run
C++/Boost "inside" your CLI code, but realize it's not the same thing
as running a raw C++ run-time.
That said, I've supported it in the past. At the time running
Boost.Units within CLI "quantity" based measurement system. Worked
fairly well for what I was doing.
> --
>
> Saludos / Best regards,
>
> Sergio Basurco
> Coherent Synchro
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
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