[Win32utils-devel] openprocess token failure with jruby

Daniel Berger djberg96 at gmail.com
Sun Jan 12 20:57:51 UTC 2014

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)

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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/win32utils-devel/attachments/20140112/d3385524/attachment.html>

More information about the win32utils-devel mailing list