Results 1 to 4 of 4

Thread: Problem linking external dll from SDK

  1. #1
    Join Date
    Sep 2014
    Location
    Krusevac, Serbia
    Posts
    4
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Problem linking external dll from SDK

    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

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,481
    Thanks
    252
    Thanked 711 Times in 701 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Problem linking external dll from SDK

    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.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Sep 2014
    Location
    Krusevac, Serbia
    Posts
    4
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: Problem linking external dll from SDK

    Quote Originally Posted by d_stranz View Post
    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

  4. #4
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,481
    Thanks
    252
    Thanked 711 Times in 701 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Problem linking external dll from SDK

    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".
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. External library linking problem
    By ayanda83 in forum Qt Programming
    Replies: 1
    Last Post: 6th March 2017, 12:34
  2. Replies: 4
    Last Post: 22nd May 2011, 13:36
  3. Replies: 2
    Last Post: 11th February 2011, 14:44
  4. Replies: 5
    Last Post: 11th December 2010, 13:49
  5. Replies: 1
    Last Post: 6th November 2009, 21:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.