Camera Hacker


Add Comment | Related Links | TrackBack
Related Content

Error loading cr2 with edsdk

I am trying to read cr2 images using canon sdk (canon_edsdk-2.12).

I seem to be loading the dll correctly, but when I try to get the actual image, I get an error.

I tried to run the sample program included with the sdk, "RAWDevelop" to see how that is different than mine, but the same thing happens.

My error, on the given source, is in the void CRAWDevelopDlg::LoadImage() function -

err = EdsGetImage( m_ImageRef , source , kEdsTargetImageType_RGB , rect , size , DstStreamRef );   
if( err == EDS_ERR_OK ) {...}
AfxMessageBox("The error occurred with the EdsGetImage function.");

The above (on line 481 on the page) is the same method that I use, and i get the same error - with error code 35 (instead of 0).

Am I missing anything ?

All the required dll's used are on the system path...

Thank you.

Thu, 20 Jun 2013 23:10:43 +0400

The error seems to be

#define EDS_ERR_FILE_TOO_MANY_OPEN 0x00000021L
But... I only opened one file. it is not even possible to get more at once.

Thu, 20 Jun 2013 23:35:45 +0400

Hello, i'm having the same problem :(

Heitor Rapela Medeiros
Tue, 23 Dec 2014 16:42:57 +0300

Hello, my problem was that all dll from canon need to be in the same path as the .exe :)

Heitor Rapela Medeiros
Thu, 08 Jan 2015 20:10:14 +0300

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 4 + 6?
Click button only once, please!


TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.