Description:
My team is developing an application using a third-party DLL. In the beginning, we developed our application using the .NET Framework 4.0
. Then we switched to .NET Core 3.1
and continued using Windows
. Now we have a task to develop our application for Linux. The third-party DLL we use is written in C
or C++
. This DLL uses the system libraries: GDI32.dll
, KERNEL32.dll
and MSVCR100.dll
(I used dumpbin.exe
to see it). The Linux version of this third-party library does not exist. The developer of this third-party library does not respond to emails.
Question: How can I call the functions of a third-party C/C++ DLL from .Net Core 3.1 on Linux?
Maybe I should use Wine
, or winelib
, or something else? I'm open to any ideas and suggestions for solving this problem.
UPD: As Iknow this third-party library use GDI32.dll
to draw bmp image, because I use that DLL to draw some images by data. I give some data into DLL function and get bmp image.
UPD 2: I also found an interesting project on GitHub. But I'm not sure it will help me because the DLL I use calls functions GDI32.dll
.