Clone scapix-com/example1 repository into empty directory:
git clone https://github.com/scapix-com/example1
vs_cs.cmd script to generate Visual Studio solution for C#:
cd example1 vs_cs.cmd
Visual Studio and open this generated solution file:
There are two targets in this solution:
chat- C# target
chatlib- C++ target
chat target open source file
Here you will find multiple calls to C++ functions declared in C++ header files
session.h, etc. which reside in
chatlib C++ target.
You can place breakpoint in
Program.cs file, run the project and examine values returned from C++. You can also add new C++ functions to
build solution (C# bindings automatically generated during build), then add calls from C#
Program.cs file to your newly added C++ functions.