将代码移植到 Windows 7
几年前我用 Pascal 编写了一个游戏(在 Windows 95 下)。从那时起,随着时间的推移,我检查了它,它仍然可以在较新的操作系统上运行。它在 XP 中工作。它适用于 Vista。但在Windows 7下,即使是XP兼容模式,也当场崩溃。
我还没有机会连接调试器并浏览十年前的代码,但我想知道是否有一个明确的列表来说明 Win 7 下的哪些更改可能会破坏代码 - API 实现更改或新的受保护内存空间?我知道有各种各样的营销内容展示了新的或更改的功能,但不知道它如何影响开发人员......
在我卷起袖子并挖掘之前,它至少会给我一个开始思考它的作用的地方在。
I wrote a game years ago (under Windows 95) in Pascal. Since then over time I'd checked it and it still ran with the newer OSs. It works in XP. It works in Vista. However under Windows 7, even in the XP compatibility mode, it crashes on the spot.
I've yet to get a chance to attach a debugger and wade through the decade-old code, but I was wondering if there's a definitive list of what changes under Win 7 may break code - API implementation changes or new protected memory spaces? I know there are all sorts of marketing things showing the new or changed Features, but not how it affects developers...
It'll give me a place to start at least thinking about what it does, before I roll up the sleeves and dig in.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://msdn.microsoft.com/en- us/library/dd371708%28VS.85%29.aspx
MSDN 将是您在这方面最好的朋友。
http://msdn.microsoft.com/en-us/library/dd371708%28VS.85%29.aspx
MSDN will be your best friend in this regard.