Simply put, I have a c# code for UI and a native c++ dll for calculation. The dll is compiled for 64-bit with gcc 11.2. I am using MSVS 2022 for the UI. Selected .NET version is 4.8. The import is done with LoadLibrary, GetProcessAdress and Delegate.
The c++ functions are exported as,
Ok so I am porting some java code
to my c# application
Note that the original code is gpl but I have special licensing agreement from the author. This code will be semi proprietary, dual license probably...