AlexGer123
AlexGer123
No...I don't found any solution...
Unfortunately I have not found a solution.
No. Essential only. :)
@david-bouyssie Like this one?: ``` [UnmanagedCallersOnlyAttribute(EntryPoint = "GetData")] //functions name for C interface public static int GetData([DNNE.C99Type("const char**")] System.IntPtr StringText, [DNNE.C99Type("int*")] System.IntPtr intNumber, [DNNE.C99Type("double*")] System.IntPtr doubleNumber) { var returnValue =...
@AaronRobinsonMSFT I have built some simply examples to provide how it works. I can share the examples tomorrow. :)
Small examples Interoperability C C# [DNNE_TO_ANSI_C.zip](https://github.com/AaronRobinsonMSFT/DNNE/files/6311729/DNNE_TO_ANSI_C.zip) And this one for StringList from ANSI-C To C#: https://stackoverflow.com/questions/66932663/marshalling-string-array-from-ansi-c-to-string-in-c-sharp/66933877#66933877 [SDK 5.0.202 **x86**](https://dotnet.microsoft.com/download/dotnet/5.0) is needed and the build also must be build as x86....
> what is the purpose of char sResultText[OPTO_GLOBAL_MAX_PROCESSING_STRING_DATA_SIZE] = {""};? To copy the result like "strcpy(sResultText, strTextOut);" size for "OPTO_GLOBAL_MAX_PROCESSING_STRING_DATA_SIZE" freely selectable. > what is preventing from targeting x64? For...
@hsnmck We need more information. Maybe you upload two (C++,C#) projects....