I am trying to call a C# function which returns byte array from C++.
Can anybody have some sample code.
Thanks
njvr

>I am trying to call a C# function which returns byte array from C++.
Expose the C# code as a COM DLL and access it using C++. Alternatively, use managed C++ and import the C# assembly as a reference. Google can give you specifics.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.