如何使我的程序在Windows 98中运行? [英] How to get my program to run in Windows 98?

查看:115
本文介绍了如何使我的程序在Windows 98中运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,所以我最近用Visual C#编写了一个程序,并且我正在运行Windows7.我确实将这个程序提供给了正在运行Windows 98的朋友,但是不幸的是,当他运行该程序时,它什么也没做然后关闭.

有什么方法可以修改我的代码,以使该程序在Windows 98中运行的方式与在Windows 7中运行的方式相同?

我对这种东西很感兴趣,所以任何反馈都非常有用,在此先感谢:)

Okay so I recently made a program in Visual C#, and I''m running Windows 7. I really made this program to give to my friend who is running Windows 98, and unfortunately when he runs the program it simply does nothing and closes.

Is there any way to modify my code in order to have this program run in Windows 98 the same way it runs in Windows 7?

I''m a noob at this sort of stuff, so any feedback is of much use, thanks in advance :)

推荐答案

Microsoft .NET框架可用用于Windows 98,但仅支持版本1.0, 1.1 and 2.0 without the service pack.请参见 http://en.wikipedia.org/wiki/.NET_Framework#.NET_Framework_2.0 [ ^ ].

如果您是在某些较高的框架(例如带有Service Pack的.NET Framework 2.0,或框架3.0、3.5或4)中构建程序的,请尝试通过将框架降级为上述框架(受支持的框架)来构建程序通过Windows 98).您需要确保使用的是旧框架(没有任何Service Pack的1.0、1.1或2.0)中的类和代码.另外,还必须确保您的朋友在他的98台计算机上具有支持的.NET框架.
Microsoft .NET framework is AVAILABLE for windows 98, but, only version 1.0, 1.1 and 2.0 without the service pack are the supported ones. See http://en.wikipedia.org/wiki/.NET_Framework#.NET_Framework_2.0[^].

If you have built your programs in some heigher framework (Say, .NET framework 2.0 with service pack, or, framework 3.0,3.5 or, 4), try to build the program by downgrading the framework to the mentioned ones (Those which are supported by windows 98). You need to make sure that you are using the classes and codes from the older frameworks (1.0,1.1 or 2.0 without any service pack). Also, you have to make sure that your friend has the supporting .NET framework available in his 98 machine.


这篇关于如何使我的程序在Windows 98中运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆