简体   繁体   English

Windows multipoint SDK MultipointSdk.Instance.Initialize(this)方法未找到?

[英]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: 请遵循以下步骤:

  • Right click on your project in Visual Studio. 右键单击Visual Studio中的项目。
  • Click Add Reference 点击添加参考
  • Usually it will be present in .NET tab, if not, try Browse, go to Program Files\\Microsoft MultiPoint SDK\\bin\\Microsoft.MultiPoint.Sdk.dll 通常它将显示在.NET选项卡中,如果没有,请尝试浏览,然后转到Program Files \\ Microsoft MultiPoint SDK \\ bin \\ Microsoft.MultiPoint.Sdk.dll
  • Press Ok and try again. 按确定,然后重试。

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.

相关问题 在 windows sdk (Windows 1903) 中找不到参考 - No references were found in the windows sdk (Windows 1903) 通过其方法初始化该类的新实例 - Initialize a new instance of the class through its method Google Admin SDK错误-找不到方法 - Google Admin SDK error - method not found Windows服务出现“找不到方法”错误 - 'Method not found' error with Windows Service C# MAUI - 与 Mac 配对失败,显示“未找到主题 xvs/idb/initialize-do.net-sdk 的接收器” - C# MAUI - Pair to Mac failed with "No receiver was found for topic xvs/idb/initialize-dotnet-sdk" 创建了单独的Models和Controllers项目之后,我的Initialize方法声明中出现“找不到合适的方法来覆盖” - After creating separate Models and Controllers projects, I get “no suitable method found to override” on my Initialize method declaration 初始化单例后代的实例 - Initialize instance of singleton descendant 在Windows Phone SDK 7.1中启动应用程序时的调用方法 - Call Method on application launching in Windows Phone SDK 7.1 Windows Phone SDK-无法使用FacebookClient.get()方法 - Windows Phone SDK - Cannot use FacebookClient.get() method 如何在Unity中初始化实例变量 - How to initialize instance variables in Unity
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM