> and...how to pass an array from c# to c++? an "array of byte" is usually marshalled as an pointer when using P/Invoke. When using "internal calls" there is no Marshalling at all, c++ code does recieve an pointer to an mono object. Read documentation to find out how to access strings, arrays etc. Elmar