How can I call a C ++ function from C # .NET?
compile C ++ function in dll and use P / Invoke
or
compile the C ++ function into a C ++ / CLI assembly, wrap it in a managed C ++ class and then process it like any other assembly (add a link, use the using statement and call the class)
Create a COM wrapper, and then reference it with .NET.
Source: https://habr.com/ru/post/1699452/More articles:What are the advantages and disadvantages of using the "Partial Index"? - databaseSaving Using Hibernation / JPA - javaCreating dynamic tables in Word using C # .NET - c #What is your efficiency by deleting XML in Java projects? - javaHow do they draw charts / graphs in stackoverflow? - vector-graphicsSchedule an appointment from a SharePoint workflow - workflowMultiple subordinates on the same machine with hudson - build-processИспользование синтаксиса foreach (...), а также увеличение индексной переменной внутри цикла - syntaxПреобразование выделенного текста с помощью горячей клавиши - eclipseXcode Object Automation - objective-cAll Articles