OPOS 无法在 64 位系统上运行
有人有 OPOS 的经验吗?我无法让我的应用程序识别在 64 位计算机上运行的设备的 LDN。
我已经知道 OleforRetail 的内容现在位于注册表中的 Wow6432Node 下。我怀疑通用控件因此无法找到 LDN。有什么解决方法吗?
如果做不到这一点,是否有一个集中的 OPOS 开发论坛?
顺便说一句:我使用 Monroe Consulting 提供的通用控件。
谢谢!
Anyone have experience with OPOS? I can't get my app to recognize the LDNs for the devices running on a 64 bit machine.
I've got down to the point where I know that the OleforRetail stuff is now under Wow6432Node in the Registry. I suspect the common controls can't find the LDN because of this. Is there any kind of workaround?
Failing that, is there a centralized OPOS development forum somewhere?
BTW: I work with the common controls supplied by Monroe Consulting.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您使用什么来开发您的应用程序?
如果您使用 .NET,则需要将其设置为编译为 32 位版本。
平台目标:c# 项目设置上的 x86。
如果程序是 32 位或 64 位,则决定它在注册表中的何处查找值。
所有 OPOS com 对象都是 32 位的,因此如果您使用 64 位程序,它将找不到有关它们的任何信息。
What are you using to develop your application?
If you are using .NET you need to set it to be compiled as a 32-bit version.
Platform target: x86 on the c# project settings.
If a program is 32 bit or 64 bit decides where in the registry it looks for values.
All the OPOS com objects are 32-bit, so if you use a 64-bit program it will not find any information about them.
我遇到的最大问题是我的应用程序找不到 LDN。事实证明,您必须以管理员身份运行 OPOS 驱动程序配置软件,才能使其正确操作注册表的 32 位部分。 LDN 只是没有写入注册表中的正确位置,因此我的应用程序无法找到它们。
The biggest problem that I had is that the LDNs weren't being found by my app. Well it turns out that you have to run the OPOS driver configuration software as administrator to get it to manipulate the 32 bit section of the registry properly. The LDNs just weren't being written in the right place in the registry so my app couldn't find them.