User Activity

I am trying to creat an 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 an proper Handle for t...