将 Windows-CE 应用程序移植到 Windows 桌面
我已经接管了一个Windows-CE 6.0应用程序,我想将其移植到其他平台。它是一个相对简单、独立的 GUI 应用程序,用嵌入式 C++ 版本 4.0 编写。
我感兴趣的第一个目标是常规 Windows 桌面(即 XP、Vista、Windows-7)。
我知道将桌面应用程序移植到 CE 并非易事;但反过来呢,我感兴趣的是什么?从 Windows-CE 到 Windows 桌面(某种程度上)向上兼容吗?我确实很想听到“购买这个 1000 美元的 Microsoft XYZ C++ 开发环境,然后编译并运行!”
(仅供参考,我没有 GUI 应用程序的经验,也没有 Windows 环境中的编程经验;假装我只是一个简单的 linux/unix 人员,拥有数十年的 C/C++ 经验,但绝对没有 Windows-Fu...;-)
I have taken over a Windows-CE 6.0 application that I would like to port to other platforms. It is a relatively straightforward, self-contained GUI application, written in Embedded C++ Version 4.0
The very first target I am interested in would be a regular Windows desktop (i.e. XP, Vista, Windows-7).
I understand that porting a desktop application to CE is nontrivial; but what about the reverse, which is what I am interested in? Is going from Windows-CE to Windows Desktop (somewhat) upward-compatible? I sure would love to hear "buy this $1000 Microsoft XYZ C++ development environment and just compile and go!"
(FYI I have no experience with GUI applications nor with programming in the Windows environment; pretend I am but a simple linux/unix guy with decades of C/C++ experience but absolutely no Windows-Fu... ;-)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,移植应该非常简单。 CE 主要是 Win32 的子集,重点关注 Unicode。
您也许可以确保定义、构建 UNICODE,如果运气好的话,其中大部分都会“正常工作”。可能会出现问题的地方有:
任何对 aygshell.dll 的调用都可能被 替换也有问题。
Porting up should, actually, be pretty straightforward. CE is mostly a subset of Win32, with heavy emphasis on Unicode.
You can probably make sure UNICODE is defined, build and, with a little luck, most of it will "just work". Places that are going to be hangups are:
Any calls into aygshell.dll are likely to be problematic as well.