使用Interop.WIALib.dll [英] Work With Interop.WIALib.dll

查看:91
本文介绍了使用Interop.WIALib.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好兄弟

即时将Interop.WIALib.dll导入以引用时,

WiaClass =新的WIALib.WiaClass()

我看到错误消息:无法嵌入Interop类型的wia类,请改用应用程序接口.

Hi EveryBuddy

im importing Interop.WIALib.dll to refrences , WHEN i Want Use this Code :

WiaClass = New WIALib.WiaClass()

i See Error Msg : Interop type wia class can not be embedded , Use the application interface instead.

推荐答案

WiaClass与System.Runtime.InteropServices.WiaClass类不明确
更改变量声明
WiaClass is Ambiguous with System.Runtime.InteropServices.WiaClass class
change the variable declaration
dim objWiaClass As New WIALib.WiaClass


这篇关于使用Interop.WIALib.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆