Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt and NModbus
QtWS25 Last Chance

Qt and NModbus

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 4.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alexspin
    wrote on last edited by
    #1

    Hi,
    does anyone made a project with qt using NModbus dlls?

    I'have a project that have to communicate to a device using modbus protocol. I find the NModbus library (done for c#) but only the dll files. No .lib or .h. How can I manage this?

    Thanks!

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      [quote author="alexspin" date="1304602356"]I find the NModbus library (done for c#) but only the dll files. No .lib or .h. [/quote]

      Hi,

      If this DLL is build with C# you should not expect to find C/C++ header files.

      I have used a C++ DLL in C#, but I am not even sure is the opposite possible :(

      Best regards,
      Leon

      http://anavi.org/

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alexspin
        wrote on last edited by
        #3

        [quote author="leon.anavi" date="1304602954"]
        If this DLL is build with C# you should not expect to find C/C++ header files.
        [/quote]

        Hi,

        yes, I'm agree with you! In the documentation file there is the description of the classes and methods in C#, Visual Basic and Visual C++.

        But how can be used this dll in the project?

        Thanks.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cincirin
          wrote on last edited by
          #4

          just an idea ... try to make an C++ managed project. From C++ managed code, I think you can call functions from dll made with C#. Then make your C++ un-managed project where you can call functions from previous managed (let's say proxy) project.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            alexspin
            wrote on last edited by
            #5

            Hi cincirin,
            it's a little bit complicated for me..
            Maybe I try.

            Thanks a lot.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved