Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt and NModbus

    Installation and Deployment
    3
    5
    3815
    Loading More Posts
    • 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
      alexspin last edited by

      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 Reply Quote 0
      • L
        leon.anavi last edited by

        [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 Reply Quote 0
        • A
          alexspin last edited by

          [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 Reply Quote 0
          • C
            cincirin last edited by

            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 Reply Quote 0
            • A
              alexspin last edited by

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

              Thanks a lot.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post