在Delphi 2010上使用HIDController [英] Using HIDController on Delphi 2010

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

问题描述

我有一个应用程序使用 HID控制器在Delphi 7上,但现在我需要在Delphi 2010上使用它(许可证问题),但是我在这个delphi 2010中发现了这个HIDController的一些兼容性问题。这个库是Project JEDI的一部分。 / p>

我注意到使用Delphi 2010和Win7的这个库(JvHidDeviceController组件)的人的一些问题。也许面对同样问题的人可以帮助我。

解决方案

这是D2010的工作代码:
使用包来自本网站: HIDController DPK



并从此网站的版本替换JvHidControllerClass.pas:修改的源文件



主要的麻烦是在字符串和AnsiString声明中,所以这个文件解决了这种不兼容。



PS使用 zip压缩版本的文件从帖子。


I have an application that uses HID Controller on delphi 7 but now I need to use it on Delphi 2010(license problems) but I've found some compatibility problems of this HIDController in this delphi 2010. This library is part of Project JEDI.

I notice some questions from people using this library(JvHidDeviceController component) with Delphi 2010 and Win7. Maybe someone who faced the same problem could help me. I now its possible I just can't figure how.

解决方案

This is working code for D2010: Use package from this site: HIDController DPK

And replace JvHidControllerClass.pas with version from this site: Modified source file

Major trouble is in string and AnsiString declaration, so this file resolve this incompatibility.

P.S. Use zipped version of file from the post.

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

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