cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EDSDK Handler for take pictures

Lucinda28
Apprentice

I am trying to create a Program for my Canon EOS Rebel T7, but when I try to send the command EDSDK.EdsSendCommand(CamConn, EDSDK.CameraCommand_TakePicture, 0) the program returns the error EDS_ERR_INVALID_HANDLE, how I can add a proper Handle for taking pictures?

 

Thanks! 

 

Print of code here

2 REPLIES 2

Waddizzle
Legend
Legend

These forums are intended to provide support to end users of Canon products, not software developers.

 

I know nothing about the EOSDK, but I do know programming.  As far as your issues goes, I view it as similar to a car not running because you did not put gas in the tank.  You probably need to call GetHandle prior to making that method call.

--------------------------------------------------------
"The right mouse button is your friend."

And if you *did* call InitHandle or GetHandle or whatever it is called, you need to check to make sure you get a valid handle - probably anything but NULL - before you do any other calls.

Announcements