Search found 1 match

by Xandolph
Thu Apr 02, 2015 9:34 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Problem with calling usbpt104.dll from managed C#
Replies: 1
Views: 4025

Problem with calling usbpt104.dll from managed C#

Hi! I'm writing a wrapper in C# for the usbpt104.dll. I can open the device via ethernet, set channels, read data and close the device without any problems. But I'm still having a problem with the UsbPt104GetUnitInfo method. It keeps throwing a PInvokeStackImbalance. Here's my import: [DllImport("Us...