问题
I am trying to invoke C++ DLL in my client webassembly blazor application . However, I am not able to succeed in this.
I am using the following syntax to invoke the dll , however receiving error .
Can anyone help me is Blazor webassembly is supporting invocation of C++ native dll in the client C# code or NO .
I am using the following syntax to call dll from app.
[DllImport("SampleDll.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern int Add(int a, int b);
Thanks in advance !!
来源:https://stackoverflow.com/questions/62671049/invoking-c-dll-in-blazor-client-webassembly