C++ integration using CLR

General discussions about GdPicture.NET.
Post Reply
Macedot
Posts: 7
Joined: Wed Jun 02, 2021 6:47 pm

C++ integration using CLR

Post by Macedot » Thu Jul 08, 2021 11:23 pm

https://docs.microsoft.com/en-us/cpp/do ... w=msvc-160

At our company we integrated GdPicture with C++ without using MFC and it was... quite tricky. We can't afford to have MFC dependencies and, despite that, we already migrate to VS19 which doesn't support that MFC import stuff wizard.

But since quite a while, MSVC allows .NET callings (and some other extensions) on C++ code by enabling Common Language Runtime (CLR) support. We already integrated another C# library with our code and it was a pretty straightforward process: our main EXE programs loads a DLL that is compiled with CLR that wraps calls for the C# code. This other library, however, is way simpler than GDP. :lol:

Did you guys tried this approach before? Any thoughts?

Cheers!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests