C# interop object for passing large buffers

  • Thread starter Thread starter Doug Taylor
  • Start date Start date
D

Doug Taylor

I'm VERY new to C# and still a bit clumsy with COM. I'm tasked to
use C# to design and create an object that can be called from
VC6, VB6, and .NET applications (and possibly even from plain old
C). My object will open very large images (100's of MB big) and
pass areas of the image back to the calling application. The
application will allocate the buffer and pass it to my object to
be filled with data.

I sure could use some help, suggestions, sample code.

Also, what are the performance issues I'll face while passing
large buffers of data across the C# boundary?

Oh, and don't worry about how my object will get data efficiently
from the image files. I've got that part figured out.
 
Back
Top