I'm trying to make a Servo Motor work with very simple code in C#. The company that built the Servo is called TEKNIC, and the motor that I'm trying to move is the ClearPath-SC-Series.
That company offers a software download called ClearView and contains a lot of sample code to be used in C++, also, they create a DLL file with a ton of Classes, Methods, Codes and so on, that you can use to import into your own code. However, these DLL was built in C++ as well.
Om my C# application I'm trying to use P/Invoke to access that DLL but without success. Can someone please help me? I am using System.Runtime.InteropServices
Here is where I'm calling the DLL
[DllImport("C:\\Program Files(x86)\\Teknic\\ClearView\\sdk\\lib\\win\\Release\\x64\\MNuserDriver20.dll", EntryPoint = "SysManager")]
I'm not sure what would be the next steps