如何将我用C制作的WIN16 API游戏转换为WIN32? [英] How do I convert WIN16 API Games I made with C to WIN32?
问题描述
几年前,当我还在使用Windows XP时,我编写了一个使用WIN16 API的游戏。虽然它适用于32位Windows XP,但它并不适用于任何比这更轻松的东西。如何将此代码转换为WIN32?
A few years back, when I was still using Windows XP, I programmed a game that used the WIN16 API. While it worked with 32 bit Windows XP, it did not work with anything lalter than that. How do I convert this code to WIN32?
如果转换它太难了,是否有任何Windows 3.1运行模式我可以使用?
If converting it is too difficult, are there any Windows 3.1 run modes that I could use?
谢谢,
rydog [数字]
rydog[digits]
推荐答案
几年前,当我还在使用Windows XP时,我编写了一个游戏使用WIN16 API。虽然它适用于32位Windows XP,但它并不适用于任何比这更轻松的东西。如何将此代码转换为WIN32?
A few years back, when I was still using Windows XP, I programmed a game that used the WIN16 API. While it worked with 32 bit Windows XP, it did not work with anything lalter than that. How do I convert this code to WIN32?
如果转换它太难了,是否有任何Windows 3.1运行模式我可以使用?
If converting it is too difficult, are there any Windows 3.1 run modes that I could use?
谢谢,
rydog [数字]
rydog[digits]
看看
https://stackoverflow.com/questions/147351/converting-win16-c-code-to-win32 以及
将16位代码导入32位Windows
Have a look at
https://stackoverflow.com/questions/147351/converting-win16-c-code-to-win32 and also
Porting 16-Bit Code to 32-Bit Windows
另见
64位Windows编程指南其中迁移提示有信息从32位移植到64位。
Also see Programming Guide for 64-bit Windows where Migration Tips has info on porting from 32 bit to 64 bit.
假设您拥有许可副本,另一种方法是在虚拟机中运行32位版本的Windows。 32位VM应该能够运行您的16位代码。
Assuming you have licensed copies another alternative would be to run a 32 bit version of Windows in a virtual machine. The 32 bit VM should be able to run your 16 bit code.
这篇关于如何将我用C制作的WIN16 API游戏转换为WIN32?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!