On Saturday, 14 March 2020 at 20:53:45 UTC, Abby wrote:
I would like to export some functions from my bettec dll for
dotnet core application in windows.
You can check my library documentation to understand how to do
some fancy interop between C# and D:
https://github.com/ahmetsait/IDL/wiki
On Saturday, 14 March 2020 at 20:53:45 UTC, Abby wrote:
I would like to export some functions from my bettec dll for
dotnet core application in windows.
Right now I have compiled dll using dmd v2.091.0-dirty simply
by ´dub build´
this is the function I have
extern(C) char* test_echo(const(c
On Saturday, 14 March 2020 at 20:53:45 UTC, Abby wrote:
I would like to export some functions from my bettec dll for
dotnet core application in windows.
[...]
It is the calling convention.
I would like to export some functions from my bettec dll for
dotnet core application in windows.
Right now I have compiled dll using dmd v2.091.0-dirty simply by
´dub build´
this is the function I have
extern(C) char* test_echo(const(char)* line, size_t len, ref
size_t resLen)
{
enum