Updates: Status: Fixed Comment #2 on issue 97 by benoit.m... at ...626...: Cannot use ByRef on more than 32 parameters http://code.google.com/p/gambas/issues/detail?id=97 Thanks for the fix! I put it in revision #4087.