In reply to cgales:
thanks for the answer but still the same isuue.
i also tested the options:
import "DPI-C" context function void nmu_cpp_get_l_y_msb_array_by_index(int index,chandle handle, output int result[]);
import "DPI-C" context function void nmu_cpp_get_l_y_msb_array_by_index(int index,chandle handle, output int result[100]);