针对移动设备和桌面设备进行开发
我正在开始一个新项目。它将在运行 Windows CE、Windows Mobile 6 的设备上运行,并且还将有桌面版本。该软件将通过串口连接到一些设备,使用它自己的协议。基本上它会:
- 连接到设备
- 发送和接收信息
- 读取和写入二进制文件
这些任务将在桌面和移动设备之间共享。我一直在搜索所需的信息,但仍然有一些疑问:
- 如果我创建针对 Windows CE 设备的解决方案,它是否也适用于 Windows Mobile 6?
- 创建一个针对 Windows CE 的类库会给我在桌面版本中使用它带来任何麻烦吗? (当我添加对该类库的引用时,我的 VS 说我可能会遇到一些意外的结果)
- 是否可以在运行 Windows CE 4.2 的设备上安装 .NET CF 3.5?
谢谢!
I'm starting a new project. It will run on devices running Windows CE, Windows Mobile 6 and will also have a desktop version. The software will connect to some equipments through the serial port, using it's own protocol. Basically it will:
- connect to the equipment
- send and receive info
- read and write binary files
These tasks will be shared between desktop and mobile devices. I've been searching the information I need, but I still have some doubts:
- If I create the solution targeting Windows CE devices, will it work with Windows Mobile 6 too?
- Creating a class library targeting Windows CE will give me any trouble on using it in the desktop version? (when I add a reference to that class library, my VS says that I could experience some unexpected results)
- Is it possible to install .NET CF 3.5 on devices running Windows CE 4.2?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
据我所知,Windows Mobile 6 与 Windows CE 5 兼容。我偶尔会在 Mobile 6 手机上部署 CE 4 应用程序,不会出现任何问题。
通常CE可执行文件和DLL在桌面上工作;到目前为止,我只看到它们在对 coredll.dll 使用 P/Invokes 时失败,coredll.dll 是桌面 user32.dll 的 CE 等效项。
不知道,我的 CE 4 设备没有足够的存储空间来复制安装程序:P
不
As far as I know, Windows Mobile 6 is Windows CE 5 compatible. I occasionally deploy my CE 4 applications on my Mobile 6 phone without a problem.
Usually CE executables and DLL's work on the desktop; sofar I've only seen them fail when using P/Invokes to coredll.dll, which is the CE equivalent for the Desktop's user32.dll.
Don't know, my CE 4 device doesn't have enough storage space to copy the installer on it :P
我想这个微软公告回答了你的最后一个问题 - 所以答案是Windows CE 4.2支持CF 3.5.
I guess that this Microsoft announcement answers your last question - so the answer is windows CE 4.2 supports CF 3.5.