> On Mar 5, 2018, at 10:50 AM, Brian Burkhalter <[email protected]> 
> wrote:
> 
> On Mar 5, 2018, at 10:39 AM, Paul Sandoz <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> Did you consider keeping this contained within the JNI code if that is at 
>> all possible?
> 
> No. I think that a Java variable to contain the HKEY might be inevitable. 
> This is similar to the FileDescriptor holding the Windows HANDLE as a long.
> 

Ok.

Paul.

>> I don’t know whether that would just push the compiler error around e.g. 
>> converting from jint to jlong then to HKEY?
> 
> If probably would. With the current version there is no passage via a 32-bit 
> representation.
> 
> Thanks,
> 
> Brian

Reply via email to