Hi Quad, thanks for ur fast reply. The code u provided causes in my compiler an error telling " error C2440: 'return': 'int *[10]' cant be converted to 'int *' any idea? would be nice if u also can give an example how to call this function from liteC since u are Expert any other is also welcome thanks