Re: Problem on QuantLib with /Clr support enabled

Posted by Nathan Abbott on
URL: http://quantlib.414.s1.nabble.com/Problem-on-QuantLib-with-Clr-support-enabled-tp5783p5788.html



On Tue, Mar 4, 2008 at 12:41 AM, Luigi Ballabio <[hidden email]> wrote:
On Mon, 2008-03-03 at 11:42 -0800, Nathan Abbott wrote:
> No I did not do any thing different. The confusion is that I compile
> the QuantLib natively or unmanaged then I link it to a C++ class that
> is compile under the /clr flag.

Is this at all possible?


Yes you can link a native class and a managed class in the same dll (assembly). In fact, you get a performance boost if you do. It has some to do with thunking between managed and unmanaged code. The book "Expert C++/CLI" can explain it better than I can. Anybody that uses QuantLib and .Net should read this book.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users