Hi Florian, Andre,

If I may just say, your codes, even disregarding the small language differences, are not identical. In the Java code:

   xColProps = QI.XPropertySet(xCols.getByIndex(i));

you cast the return value of getByIndex into an XPropertySet, whereas in the C# code:

  XPropertySet props = (XPropertySet)cols.getByIndex(i).Value;

you access the Value property of that return value and try casting the result. So possibly removing the access to Value might help (or using an explicit queryInterface instead of using a direct cast).

Cyrille

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to