PDA

View Full Version : Problem linking external dll from SDK



slavisac
8th January 2020, 14:26
Hello

I dont know how to link and use external dll from SDK package,
i need to integrate zkteco rfid reader with my app, downloaded sdk from manufacturer site
zkemkeeper.dll iz the file that i need use in my qt project

In the SDK have examples that works in Csharp

Thank you sorry on my bad englisch

d_stranz
8th January 2020, 18:32
Usually you need to link to the export library (.lib) file for the DLL. This should be in your SDK.

If it is not there, then you may need to write a COM wrapper for the .NET assembly in the DLL.

This is beyond the scope for this forum - you should see if there is information on the support section of the manufacturer's site.

slavisac
17th January 2020, 21:40
Usually you need to link to the export library (.lib) file for the DLL. This should be in your SDK.

If it is not there, then you may need to write a COM wrapper for the .NET assembly in the DLL.

This is beyond the scope for this forum - you should see if there is information on the support section of the manufacturer's site.

Any instruction for begining with COM wrapper . Thank you

d_stranz
18th January 2020, 00:25
Any instruction for beginning with COM wrapper

It is off-topic here. Google is your friend. Search for "COM wrapper for .NET assembly" and "COM interop".