Export (0) Print
Expand All

StringBuffers Truncated on Return From DLL Function

Visual Studio 6.0

You must ensure that the StringBuffer's capacity is sufficient to contain the string you need before you invoke the DLL function. You can specify the capacity in the StringBuffer's constructor, and you can use the StringBuffer.ensureCapacity method to guarantee a minimum capacity prior to the DLL call.

© 2015 Microsoft