Chromatic <[EMAIL PROTECTED]> wrote: > Count: 4 > 0: 263958416 > 1: 0 > 2: 263958412 > 3: 264243256
And differently here. What your struct layout is describing was: struct container { int count; int ar[2]; }; But you get from nci_p_iiii a pointer to: struct container { int count; int *mayarray; }; So I've modified the struct description (attaching a struct_ptr that describes the array), and this works as expected. leo