[Win32utils-devel] openprocess token failure with jruby

Heesob Park phasis at gmail.com
Mon Jan 13 01:20:19 UTC 2014


Hi,

2014/1/13 Daniel Berger <djberg96 at gmail.com>:
> Hi all,
>
> I'm running a 32-bit Jruby 1.7.10 on Windows 7. I noticed a problem with
> win32-security where this line is failing:
>
> unless OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, token)
>   raise SystemCallError.new("OpenProcessToken", FFI.errno)
> end
>
> Note that I do have one minor fix in the ffi branch that's not yet released.
>
> It works fine with Ruby, though. Any ideas?
>
Do you mean it works fine with the released ffi?
I have no idea because I cannot reproduce the issue.

Regards,
Park Heesob


More information about the win32utils-devel mailing list