I have 2 C++ DLLs. One of them contains the following function:
void init(const unsigned char* initData, const unsigned char* key)
The othe
For classes, you don't need to do anything special. For value types, you need to use the ref keyword.
MSDN has an article that summarizes this: http://msdn.microsoft.com/en-us/library/awbckfbz.aspx