[Win32utils-devel] Dir.create_junction with FFI

Daniel Berger djberg96 at gmail.com
Fri May 18 01:07:05 UTC 2012


Hi,

Try as I might, I just cannot get Dir.create_junction to work with FFI
in the ffi branch of the win32-dir project. The problem is the
REPARSE_JDATA_BUFFER struct. I'm just not sure how to set those
members, specifically, the PathBuffer member. The target looks good,
it's UTF-16LE encoded, but I can't make it work, despite trying
several ways of defining the struct, and setting various struct
members.

A quick gist for reference: https://gist.github.com/2721257

Help much appreciated!

Regards,

Dan


More information about the win32utils-devel mailing list