Hi,
c++/cli is a great language for writing a large component which interops between native and managed code.And Provides a fast(er) conversion path from a purely native C++ code base to a purely managed one.
If you want to use c++ api in c# code, as far as I'm concerned, you couldn't achieve it without c++/cli.
You could use P/Invoke to call functions in c++ dll. You could also try to use c++ com Interop. For more details I suggest you could refer to the links:
https://learn.microsoft.com/en-us/cpp/dotnet/calling-native-functions-from-managed-code?view=msvc-160
https://learn.microsoft.com/en-us/cpp/dotnet/native-and-dotnet-interoperability?view=msvc-160
About Python, I suggest you could post the related threads on the Python forum.
Best Regards,
Jeanine
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.