On May 26, 2013, at 5:06 AM, Tobias Wolf wrote:
> I changed the ordering, because a normal java guys would except that a array takes parameters in usal order not in reverse ordering, that`s a microsoft specific thing. Otherwise we`ll get a call after call because nobody knows that behaviour.
I understand that, and I would expect the interface to have normal ordering, but didn't you just say you changed it again to do reverse (COM) ordering?
>
> Shell mean more or less the windows explorer. I don`t think a special registration is needed. What is the error you get back?
I'm getting errors on a *lot* of COM stuff (this is on XP, Vista, win7, all mostly vanilla systems). There are multiples of all of these. For example:
Ole32Test testCoCreateInstance Failure Class not registered
junit.framework.AssertionFailedError: Class not registered
at com.sun.jna.platform.win32.Ole32Test.testCoCreateInstance(Ole32Test.java:97)
IUnknownTest testQueryInterface Error Invalid memory access
java.lang.Error: Invalid memory access
at com.sun.jna.Native.invokeInt(Native Method)
at com.sun.jna.Function.invoke(Function.java:344)
at com.sun.jna.Function.invoke(Function.java:276)
at com.sun.jna.Function.invoke(Function.java:235)
at com.sun.jna.Function.invokeInt(Function.java:642)
at com.sun.jna.platform.win32.COM.IUnknown.QueryInterface(IUnknown.java:76)
at com.sun.jna.platform.win32.COM.IUnknownTest.testQueryInterface(IUnknownTest.java:70)
ITypeInfoTest testGetRefTypeOfImplType Error N/A
java.lang.NullPointerException
at com.sun.jna.platform.win32.COM.ITypeInfo.GetRefTypeOfImplType(ITypeInfo.java:126)
at com.sun.jna.platform.win32.ITypeInfoTest.testGetRefTypeOfImplType(ITypeInfoTest.java:137)
ITypeLibTest testGetTypeInfoOfGuid Error Unexpected Typelib error code : 0x24
com.sun.jna.platform.win32.COM.COMException: Unexpected Typelib error code : 0x24
at com.sun.jna.platform.win32.COM.COMUtils.checkTypeLibRC(COMUtils.java:281)
at com.sun.jna.platform.win32.ITypeLibTest.testGetTypeInfoOfGuid(ITypeLibTest.java:97)
ITypeLibTest testGetTypeComp Error No type description was found in the library with the specified GUID.
com.sun.jna.platform.win32.COM.COMException: No type description was found in the library with the specified GUID.
at com.sun.jna.platform.win32.COM.COMUtils.checkTypeLibRC(COMUtils.java:278)
at com.sun.jna.platform.win32.ITypeLibTest.testGetTypeComp(ITypeLibTest.java:119)
ITypeLibTest testGetTypeInfo Error Unexpected Typelib error code : 0x5
com.sun.jna.platform.win32.COM.COMException: Unexpected Typelib error code : 0x5
at com.sun.jna.platform.win32.COM.COMUtils.checkTypeLibRC(COMUtils.java:281)
at com.sun.jna.platform.win32.ITypeLibTest.testGetTypeInfo(ITypeLibTest.java:74)
OleAutoTest testLoadRegTypeLib Error Unexpected Typelib error code : 0x8002801D
com.sun.jna.platform.win32.COM.COMException: Unexpected Typelib error code : 0x8002801D
at com.sun.jna.platform.win32.COM.COMUtils.checkTypeLibRC(COMUtils.java:281)
at com.sun.jna.platform.win32.OleAutoTest.testLoadRegTypeLib(OleAutoTest.java:70)