[英]Windows multipoint SDK MultipointSdk.Instance.Initialize(this) method not found?
I have downloaded a sample windows touch driver from here http://blogs.msdn.com/b/ansont/archive/2010/01/30/custom-touch-devices.aspx 我已从此处http://blogs.msdn.com/b/ansont/archive/2010/01/30/custom-touch-devices.aspx下载了示例Windows触摸驱动程序
I have installed the Windows MultiPoint Mouse Software Development Kit 1.5.1 and cannot, for the life of me, figure out how to get past this error 我已经安装了Windows MultiPoint Mouse软件开发工具包1.5.1,并且终生无法解决该错误。
when I look at the references MultipointSdk.Instance does not have an initialize method. 当我查看引用MultipointSdk.Instance时没有初始化方法。
I have almost no experience with WPF and am getting a but lost. 我几乎没有WPF的使用经验,但是却迷失了方向。
This is the error I am getting 这是我得到的错误
Error 1 'Microsoft.Multipoint.Sdk.MultipointSdk' does not contain a definition for >'Initialize' and no extension method 'Initialize' accepting a first argument of type >'Microsoft.Multipoint.Sdk.MultipointSdk' could be found (are you missing a using >directive or an assembly reference?) D:\\MultiPointDevice\\MultiPointDevice\\MultipointTouchWindow.cs 31 36 MultiPointDevice
错误1'Microsoft.Multipoint.Sdk.MultipointSdk'不包含>'Initialize'的定义,并且找不到扩展方法'Initialize'接受类型>'Microsoft.Multipoint.Sdk.MultipointSdk'的第一个参数(您是缺少使用>指令或程序集引用?)D:\\ MultiPointDevice \\ MultiPointDevice \\ MultipointTouchWindow.cs 31 36 MultiPointDevice
To give you some background on what I am trying to do. 为您提供一些我想做的背景。 I am trying to extend project Sikuli to add touch input to the testing framework.
我正在尝试扩展Sikuli项目,以将触摸输入添加到测试框架。
Any help will be appreciated. 任何帮助将不胜感激。
I think it might be you are missing the Reference. 我认为可能是您缺少参考。 Please follow this:
请遵循以下步骤:
Another thing you should check is the Initialize method does not exist in 1.5. 您应该检查的另一件事是1.5中不存在Initialize方法。 You can try the MultipointSdk.Instance.Register(this) for it.
您可以为此尝试MultipointSdk.Instance.Register(this)。
Hope this help. 希望能有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.