Actually I am working on unity3d and there is no setting option for compiling. I have to send a pointer from a C++ program (which is being compiled on Visual C++) to C# program (which is being compiled by unity3d compiler).
I have to change IplImage (contained in openCv library for C) to Texture2D image (used by unity3d) and for that I have to tell unity3d where this IplImage is stored in the memory. And so I need to send a pointe...
User Profile
Collapse
-
thnx,
now its showing error
"Unsafe code requires the 'unsafe' command line option to be specified
:( :(Leave a comment:
-
sending pointer from C++ to C#
Hello all,
I have to send a pointer from C++ to C#. How can I do this?
Error message I am getting on the C# program is
"Pointers and fixed size buffers may only be used in an unsafe context"
Please help.
No activity results to display
Show More
Leave a comment: