How to Call C# Code from C++
Return Basic Data Types 1. First, create a C# class library project named CSharpLib. Create a class named ExportClass and add a GetID function as follows: public class ExplortClass { public int GetID() { return 1024; } } 2. Create a CLR Empty Project named CSBridge, which will serve as the intermediate bridging library.Change the … Read more