Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / July 2005

Tip: Looking for answers? Try searching our database.

How to send large chunks of memory from UMC to C# via MC++?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sam Carleton - 21 Jul 2005 23:39 GMT
I am looking for advice on best practices.  I am coding against a
digital camera SDK.  One of the callback functions returns the
large, multi megabyte images in smaller chunks.  Some of the
images will be JPG, others will be RAW.  

GUI is C#
Middle layer:  MC++
Digital Camera SDK: UMC SDK

The MC++ layer will gather all the different pieces of the images
and put them together in one _______.  The question is:  How best
to gather all those pieces as to send them up to the C# GUI?  When
the pieces are a JPG, C# is going to want to be able to turn it
into an Image object, when the pieces are a RAW image, the C# will
simply save the image to the hard drive.  

Sam
Jochen Kalmbach [MVP] - 22 Jul 2005 07:11 GMT
Hi Sam!
> I am looking for advice on best practices.  I am coding against a
> digital camera SDK.  One of the callback functions returns the
> large, multi megabyte images in smaller chunks.  Some of the
> images will be JPG, others will be RAW.  

Why not return a Stream?

Signature

Greetings
  Jochen

   My blog about Win32 and .NET
   http://blog.kalmbachnet.de/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.