C# buffer in C++

  • Thread starter Thread starter vishnu.baroda
  • Start date Start date
V

vishnu.baroda

Hi,

I have application in c#, which store data buffer of 256, I have other
application running on same computer which is in c++/MFC. I wanted data
buffer of C# in c++/MFC software, this buffer changes frequently, what
is best approch ?? how ??



Thanks in advance
 
PInvoke and expose your buffer as a lpByte (a pointer to a byte array)
and catch that in C# as a byte[] argument?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top