03-03-2020 05:47 AM
Is there anyone with a working piece of sample C code that implements LiveView using the Canon EDSDK? The sample code in the documentation looks great until you get to this bit:
// // Display image //
Yup, that's it. They don't show how to BLT an image to a window using the data retrieved from the camera. They just say, "Display image." Thanks, Canon.
I have hunted the Internet (including this forum), but I have yet to find a C code sample that shows how to do this. I'm looking to avoid MFC, VB, managed code, or C#. Surely it's possible to do this in vanilla C, right? Vanilla C++ is fine as well.
03-03-2020 05:49 AM
@kiki39 wrote:Is there anyone with a working piece of sample C code that implements LiveView using the Canon EDSDK? The sample code in the documentation looks great until you get to this bit:
// // Display image //Yup, that's it. They don't show how to BLT an image to a window using the data retrieved from the camera. about all They just say, "Display image." Thanks, Canon.
I have hunted the Internet (including this forum), but I have yet to find a C code sample that shows how to do this. I'm looking to avoid MFC, VB, managed code, or C#. Surely it's possible to do this in vanilla C, right? Vanilla C++ is fine as well.
Thanks
03-03-2020 06:00 AM - edited 03-03-2020 06:02 AM
It is commented out probably because isplaying images is platform and hardware dependent. No one can answer your question without knowing what OS you are targeting. Besides, every major OS today runs apps as managed code. The only advantage to using C/C++ is you may wind up with more compact code.
[EDIT]. BTW, this is not a developer's forum. The "Software" label refers to user applications.
12/18/2024: New firmware updates are available.
EOS C300 Mark III - Version 1..0.9.1
EOS C500 Mark II - Version 1.1.3.1
12/05/2024: New firmware updates are available.
EOS R5 Mark II - Version 1.0.2
09/26/2024: New firmware updates are available.
EOS R6 Mark II - Version 1.5.0
Canon U.S.A Inc. All Rights Reserved. Reproduction in whole or part without permission is prohibited.