On Jan 28, 2008, at 10:18 PM, Daniel Berger wrote: > Hi all, > > Does anyone happen to know the JNA equivalent of [24].pack('L')? I > need to pass a LPDWORD (pointer to a long) to a function. > Fire off an e-mail to Rich Kilmer. I do believe he did quite a bit of code bridging ruby and JNA. Blessings, TwP