Andrew Murray

Show:

What's happening?

  • SafeArray.fromLongArray

    Hello, I'm new to JACOB/Sourceforge so appologies if I have used the code incorrectly. With the following code: long longs[] = new long[] { 1, 1, 2, 3, 5, 8 }; SafeArray array = new SafeArray(Variant.VariantLongInt, longs.length); array.fromLongArray(longs); long[] out = array.toLongArray(); for (int x=0;x

    2009-07-10 08:25:36 UTC in JACOB - Java COM Bridge

  • Accessing U32 and U64's from a SafeArray

    Hello, I'm new to Jacob and I'm having some problems with SafeArray's... I obtain a Variant from the COM automation server which represents an array of either U32's or U64's. From this I use .toSafeArray() to obtain a SafeArray. However I am not able to use any of the .toXXXXArray or getXXXmethods - they either return null or 0. A call of .getvt() on the array returns either 19 or 21...

    2009-06-27 19:19:32 UTC in JACOB - Java COM Bridge

About Me

  • 2009-06-27 (5 months ago)
  • 2546533
  • amurray2 (My Site)
  • Andrew Murray

Send me a message