Canon sdk internal error at edsDownload

前端 未结 2 756
生来不讨喜
生来不讨喜 2021-01-27 05:01

I have internal error at the EdsDownload. I\'am using EOS 1100D without sdcard. The Canon sample code (CameraContorol) can download image. Used SDK: 2.13 and 2.12 (i have same p

相关标签:
2条回答
  • 2021-01-27 05:28

    Could you check the call for "EdsCreateFileStream", especially the first parameter ? According to the docs "It creates a new file on a host computer (or opens an existing file) and creates a file stream for access to the file." The first parameter should be a local, accessible file path (e.g. "C:\tmp.jpg" on windows), and from quickly looking at this it might be you don't specify this correctly. Could you print this?

    0 讨论(0)
  • 2021-01-27 05:40

    Thank to All!
    I have the solution. This is not in the sdk document. Here is and here. This problem exists, if you are using Windows operation system.
    The concrete solution:

        while(GetMessage(&msg, NULL, NULL, NULL))
        {        
            TranslateMessage(&msg); 
            DispatchMessage(&msg); 
        }
    

    I will fix the code, erease the unecessary comments and it will working to everyone! (Soon.)

    0 讨论(0)
提交回复
热议问题