• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

264
Views
Using C++ class from C# in Linux

I am using quantconnect engine, which is written in C#, I have a library for broker messaging system written in C++, basically a class with setup, run, send message methods.

What I am trying to do is to somehow use the class written in C++ in C#. How can I do it? One of ideas is to convert C++ to C and then C to C++.

I know that there is easy way to do so in windows but I think on Linux it's not available. https://docs.microsoft.com/en-us/cpp/dotnet/how-to-wrap-native-class-for-use-by-csharp?view=msvc-170

I was also thinking that maybe instead of trying to port C++ class I could make some kind of binary that is running as a separate process and C# code is communicating, calling its functions. Is there any technology that enables me it?

Thanks for help and please keep in mind that I am a beginner so the easiest solutions are the best for me.

over 3 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error