Can I call a dll written in c++ from within a .NET app?

I haven´t found an answer to this question in the documentation, so I will ask it directly here...

I have a dll written in C++ with a lot of calculations already implemented.

Can I use call it directly from within a .NET Eikon app and use it in my app? Or I would have to rewrite it for C# or port it to a managed C++?

Thanks

Best Answer

  • Only managed code is allowed in App Studio .NET applications, therefore, you can do either.

Answers