Re: How to send a windows message from C# to C++ (MFC)?
Originally Posted by CarlosEveris
Could i pass a byte[] from c# to c++?
You can't pass pointers between two processes. Like Igor said a string pointer from one process will mean nothing in another process (and will most likely point to an invalid memory location).
This concept is more fundamental to processes in general and isn't a C# to C++ thing.
Search bing or google for "interprocess communication techniques" for more info on passing data from one process to another.
Bookmarks