C# interop object for passing large buffers

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.
 

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

Top