--
You received this message because you are subscribed to the Google Groups "Java Native Access" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jna-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/ded199b5-a20c-49a8-92eb-f930b7ddca51n%40googlegroups.com.
I’ve looked. Spent about an hour on it before my last reply.
I don’t know why it doesn’t work, but I am very suspicious of the two identical ID parameters. Are there any other examples of this working, other than the one you cited?
--
You received this message because you are subscribed to a topic in the Google Groups "Java Native Access" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jna-users/wucthsFIVoc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jna-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/57e7bc1d-25f6-4872-911a-581adff81c50n%40googlegroups.com.
*** IServiceProvider methods ***/ | |
HRESULT (STDMETHODCALLTYPE *QueryService)( | |
IServiceProvider* This, | |
REFGUID guidService, | |
REFIID riid, | |
void **ppvObject); |
2021年9月1日 下午10:00,'Hank Huang' via Java Native Access <jna-...@googlegroups.com> 写道:[EXTERNAL]
--
You received this message because you are subscribed to a topic in the Google Groups "Java Native Access" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jna-users/wucthsFIVoc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jna-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/ded199b5-a20c-49a8-92eb-f930b7ddca51n%40googlegroups.com.
When you pass just the pointers (the .getPointer() version below), I think you may need to explicitly write the Java-side code values to native memory. Try GUID_IAccessibleEx.write(); before the below call.
You wouldn’t have to do this if you passed the GUID.ByReference, as it would autowrite.
--
You received this message because you are subscribed to the Google Groups "Java Native Access" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jna-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/ad934f54-9a6d-4085-963a-c2b617aea312n%40googlegroups.com.
2021年9月2日 下午1:14,Daniel Widdis <wid...@gmail.com> 写道:[EXTERNAL]
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/0A188683-F15B-4B1C-844A-7EEF6C273292%40gmail.com.