Qt and NModbus
-
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!
-
[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 -
[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.
-
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.
-
Hi cincirin,
it's a little bit complicated for me..
Maybe I try.Thanks a lot.