From: Edward Middleton Date: 2009-12-29T23:19:00+09:00 Subject: Re: au3 0.1.1 released Marvin G端lker wrote: > input = [ > INPUT_KEYBOARD, > KEY_A, > 0, > 0, > 0, > GetMessageExtraInfo.call > ].pack('issiiP') > ... > Nevertheless, I get error code 87, what means > "One of the parameters was invalid.". I suppose it's the C array I don't > provide, even if it contains only one element. Yes thats the problem. I was forgetting it was an array. That means that the struct can't be flattened, or more specifically the parent struct contains a pointer to the child struct[1] rather the then the struct itself. I am not really sure how to get a pointer to the data of a string in ruby. I think there was a DL method to do this though. Edward