jh71283 said:
jh71283 said:
*snip*
Confirmed. It needs to be a string that I pass to the posprinter.
What API are you working against? A totally managed API, a COM interface, a P/Invoke signature?
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.