What API are you working against? A totally managed API, a COM interface, a P/Invoke signature?jh71283 said:Confirmed. It needs to be a string that I pass to the posprinter.jh71283 said:*snip*
C-style strings are, by definition, Chr(0)-terminated, so the API presumably doesn't work with those and expect it to work. Maybe it's just a matter of changing the interop signature.