I am trying to bring a small desktop application that I do in C # to Blazor. But I am running into the wall of native dlls.
I have a dll of my own in C ++ that I am not knowing how to take to blazor.
Currently in desktop application I am using the following method
[DllImport(@"C:\Users\amg\source\CRVentaGenerica\CRVentaGenerica\bin\Debug\My.dll", CallingConvention = CallingConvention.StdCall)]
public static extern int My_Initialize(string archivo);
I have been looking for information and / or examples but I have not found anything that is clarifying.
The error that the browser console tells me is "DLLNotFound".
Any indication to be able to jump this wall?
Thanks for your time <3.