ARGOX 移动数据终端 SDK [英] ARGOX Mobile Computer SDK

查看:45
本文介绍了ARGOX 移动数据终端 SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索适用于 .NET C# 的 Argox 移动 SDK.我从 http://www.argox.com/content2011 下载了 SDK.php?sno=0000033&P_ID=53但它不起作用,因为我认为它适用于 C++...;/

I search for Argox mobile SDK for .NET C#. I was downlod SDK from http://www.argox.com/content2011.php?sno=0000033&P_ID=53 but it not working, couse it's for c++ I think... ;/

推荐答案

我刚刚查看了那里的网站和互联网,应该有一些与 SDK 一起安装的 .NET 示例:http://webcache.googleusercontent.com/search?q=cache:zPo5BIItBLEJ:www.argox.com/file.php%3FA_ID%3D213+&cd=3&hl=en&ct=clnk

I just checked there web site and the internet, there should be some .NET examples installed with the SDK: http://webcache.googleusercontent.com/search?q=cache:zPo5BIItBLEJ:www.argox.com/file.php%3FA_ID%3D213+&cd=3&hl=en&ct=clnk

我没有完成SDK的下载和安装.如果它真的只支持这里写的 C/C++ http://webcache.googleusercontent.com/search?q=cache:VTResc3njWYJ:www.koncept-l.pl/assets/Wsparcie/Pliki-do-pobrania/Terminale_kolektory_danych_komputery/Terminale-reczne/Argox_PT-60_Programming_manual_v1.2-.pdf+&cdhl=1=clnk 您必须在本机 API 上使用 P/Invoke 构建自己的 .NET 库.

I did not finish to download and install the SDK. If it really does only support C/C++ as written here http://webcache.googleusercontent.com/search?q=cache:VTResc3njWYJ:www.koncept-l.pl/assets/Wsparcie/Pliki-do-pobrania/Terminale_kolektory_danych_komputery/Terminale-reczne/Argox_PT-60_Programming_manual_v1.2-.pdf+&cd=10&hl=en&ct=clnk you have to build your own .NET library using P/Invoke on the native API.

AFAIS 扫描仪 API 使用消息通知侦听器扫描数据已准备就绪:BOOL API_Register(hwnd)可以通过 P/Invoke 从 .NET 使用它,并使用表单句柄作为 hwnd 参数.您还必须实现 MessageWindow 并侦听 SM_Data_Ready(请参阅 PT-60 SDK 包含的 const 值头文件).然后您的代码可以调用 API_GetBarData(另一个要定义的 p/invoke)来读取实际的条码数据.

AFAIS the scanner API uses messages to inform a listener about scanned data is ready: BOOL API_Register(hwnd) That can be used from .NET via a P/Invoke and using the forms handle as hwnd parameter. You have also to implement a MessageWindow and listen for SM_Data_Ready (see the PT-60 SDK include header file for the const value). Then your code can call API_GetBarData (another p/invoke to define) to read the actual barcode data.

如果您需要帮助为 PT-60 实现 .NET 库,请在 P/Invoke 上进行更多搜索.还有一些自动发电机http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx

If you need help implementing a .NET library for the PT-60, do some more search on P/Invoke. There are also some auto-generators http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx

(https://www.google.com/search?q=generate+p%2Finvoke+lib)

(https://www.google.com/search?q=generate+p%2Finvoke+lib)

这篇关于ARGOX 移动数据终端 SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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