exchange array data over shared library