简体   繁体   English

SDK错误:0x8D07,在C#中使用Canon SDK时

[英]SDK Error: 0x8D07, while using Canon SDK in C#

I download the source only tutorial here . 我在这里下载源代码教程。 When I run it with connect my Canon 70D, I got the error below. 当我连接我的佳能70D运行它时,我收到以下错误。

What is the point I missed? 我错过了什么?

The Error: 错误:

在此输入图像描述

The error occurs on this line: 此行发生错误:

在此输入图像描述

And here is how the folder which includes EXE file looks like: 以下是包含EXE文件的文件夹的样子:

在此输入图像描述

I fixed this problem by letting the camera know there's enough disk space on the host. 我通过让相机知道主机上有足够的磁盘空间来解决这个问题。

Adding the line 添加线

CameraHandler.SetCapacity();

before 之前

CameraHandler.TakePhoto();

should do the trick. 应该做的伎俩。

Error 0x8D07 stands for EDS_ERR_TAKE_PICTURE_CARD_NG 错误0x8D07代表EDS_ERR_TAKE_PICTURE_CARD_NG

I'm not a 100% sure what it means but it's some sort of write error. 我不是百分之百确定它意味着什么,但它是某种写入错误。 To resolve this, format the card, switch off the camera and put out the battery for a few seconds. 要解决此问题,请格式化存储卡,关闭相机并将电池取出几秒钟。

This should fix the problem. 这应该可以解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM