摘要: 最近使用 C# 调用 dll 中的方法,本来允许的好好的,不过因为后面为了兼容不同的文件路径,就在标注上添加了 CharSet = CharSet.Auto, 添加后,方法一调用就报错,提示 “The parameter is incorrect” (该参数不正确)。 既然系统提示参数不正确,那肯定 阅读全文
posted @ 2020-05-16 19:08 一菲聪天 阅读(1287) 评论(0) 推荐(0) 编辑
摘要: 最近使用 C# 调用 dll 中的 UpdateDriverForPlugAndPlayDevices() 方法去安装驱动,遇到了 “The system cannot find the file specified” 问题, 看着错误提示,是指系统没有找到指定文件,但是我检查硬盘,该文件确实存在, 阅读全文
posted @ 2020-05-16 18:19 一菲聪天 阅读(2573) 评论(0) 推荐(0) 编辑