不使用 activesync/WMDC 访问 Windows Mobile/CE 设备
我目前正在开发一个在多种不同的 Windows Mobile 和 CE 设备上运行的应用程序。 该项目是使用 MFC 用非托管 C++ 编写的。 该应用程序还附带一个支持 PC 应用程序,我们通过 activesync/WMDC 以编程方式在两者之间传输文件。
我们遇到了许多不同的问题,因为使用我们应用程序的所有 PC 都需要安装 activesync/WMDC。
是否可以在不使用 activesync/WMDC 的台式计算机和 WM 设备之间共享信息和文件? 如果是这样,是否有库或示例说明如何执行此操作?
这只需要一种方式,如果桌面应用程序能够确定设备已连接,然后移动文件,它就可以完成所有工作。 不过如果两者都可以的话会更方便。
谢谢
I am currently working on an application that runs on several different Windows Mobile and CE devices. The project is written in unmanaged C++ using MFC. This application also comes with a supporting PC app and we programatically transfer files between the two through activesync/WMDC.
We have been running into many different issues because of the need for all PC's using our app need to have activesync/WMDC installed on them.
Is it possible to share information and files between desktop computers and WM devices that do not use activesync/WMDC? If so, are there libraries or examples of how to do this?
This only has to go one way, the desktop application could do all the work if it could figure out that a device was connected and then move files around. Though it would be more convenient if it worked both ways.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Activesync 将是最可靠的方法,对于所有 Windows 移动设备都是相同的。 除此之外,您还需要进行一些尝试和尝试。 错误查看当您将特定设备连接到未安装 activesync 的计算机时会发生什么情况。 如果幸运的话,您关心的设备将显示为外部驱动器。
您还可以选择在较低级别使用 activesync 协议,但这不是我建议的做法,因为这可能会给安装了 activesync 的人带来问题。
为了独立于电脑上的软件,我会选择基于网络的东西 - 假设设备有网络连接,无论如何,这都会比 activesync 提供更好的用户体验。
Activesync will be the most reliable method, being the one that will be the same for all windows mobile devices. Beyond that you're looking at a bit of trial & error to see what happens when you connect particular devices to a machine without activesync installed. If you're lucky the devices you care about will show up as an external drive.
You also have the option of working with the activesync protocol at a lower level, but that's not something I'd recommend as that would likely cause problems for people who do have activesync installed.
To get independence from the software on the pc I'd go with something network based instead - assuming the devices have a network connection, that gives a much better user experience than activesync anyway.