I have a code in Visual C++ , I have a data in the data type array ^ & I want to convert this data in some other format like UBYTE* but when i am doing Typecasting that time Visual Studio will display one ERROR:
convert from ‘cli::array ^’ to UBYTE*
Please tell me how to resolve this problem:
Use marshalling, something like this:
Note: unmanaged_array’s data is copy of managed_array’s data.