com.jacob.com.SafeArray.asString()

Here are the examples of the java api com.jacob.com.SafeArray.asString() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

18 Source : SafeArrayStringConstructorTest.java
with GNU Lesser General Public License v2.1
from freemansoft

public void testStringConstructor() {
    // The line below will throw ComFailException using jacob 1.17-M2
    // without the patch.
    SafeArray safeArrayFromString = new SafeArray("This is a string.");
    String convertBack = safeArrayFromString.replacedtring();
    replacedertEquals("This is a string.", convertBack);
}