|
怎样让一个win16古董程序在win7 x64或者win10上运行呢?
今天找了一个经典的著名著名软件《金山画王笔2000》。
我系统是win7 x64旗舰版。
点击安装,跳出提示:
The Win16 Subsystem was unable to enter Protected Mode,DOSX.EXE must be in your AUTOEXEC.NT and present in your PATH 。
=====================================
百度了很久,找了一堆方法,没有一个管用的:
今天一个同事安装VC6.0,出现了一个错误 :
The Win16 Subsystem was unable to enter Protected Mode,DOSX.EXE must be in your AUTOEXEC.NT and present in your PATH 。
从网上搜索到了一些解答,大致就是缺少了系统文件。但是找到System32的文件中,这些文件一个都不少。
那这是怎么回事呢?百思不得其解,后来仔细看了错误提示,感觉是系统文件路径没有配置,于是马上找到一个可以安装的VC6.0的机器,打开环境变量Path的值,仔细对比,发现少了这些环境变量“ %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;”,马上将这些变量添加上去,配置上这些环境变量,重新启动机器,OK,可以安装了。
==========================
在Windows 2000/XP/VISTA/7下运行16位MS DOS程序时,可能会遇到“Config.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications”(Config.nt 系统文件不适用于运行 MS-DOS 与 Microsoft Windows 应用程序)错误信息,然后只能点击关闭结束程序。
只需要
修改当前用户的环境变量tmp值为c:\temp即可解决
————————————————
若安装软件(vc6)是出现the win16 subsystem was unable to enter protected mode,DOSX.EXE must be in your AUTOEXEC.NT and present in your PATH错误时,
步骤如下
1、检查%systemroot%\system32\autoexec.nt,确定下面的行存在 REM Install DPMI support lh %SystemRoot%\system32\dosx
2、检查%systemroot%\system32\config.nt内容,应该存在下面的行 device=%systemroot%\system32\himem.sys
3、或者去其他机器上拷贝一下这两个文件就好啦
4、一定要要确保在%systemroot%\system32\存在dosx.exe和himem.sys这两个文件
————————————————
解决win7系统不支持16位实模式汇编程序DOS运行的问题
这学期学习了汇编,在自己电脑上发现,win7的dos不支持16位实模式。
对编程来说,不能运行程序是致命的。
在经过网上搜集资料后,得到一种解决办法--使用dosbox软件运行
dosbox简单说,就是一个dos模拟程序,支持16位实模式。
1.首先下载一个dosbox安装程序并安装,下面给出地址
http://sourceforge.net/projects/ ... taller.exe/download
2.在开始中找到dosbox目录,在其中的configuration里有edit configuration,选中它;
3.在[autoexec]下面加入mount c c:\... 并保存!我的程序在c盘,大家可以根据自己的需要设置;
4.运行dosbox,如果看到z:\>mount c c:\,,,说明目录设置成功;
5.接下来就可用正常dos的操作运行16位的古老汇编了;
当然解决方式不局限于这一种,也看到可以用虚拟机等,但是我在xp虚拟机里好像也出现有类似问题,只能用上面的方法解决,不知道为什么,有知道的朋友可以告诉我。
————————————————
让16位Pwin3.2程序在64位Win10上跑起来
https://blog.csdn.net/weixin_45707491/article/details/115257099
windows 64位sed.exe_【怀旧】在 64 位 Windows 中运行 16 位 Windows/DOS 程序
https://blog.csdn.net/weixin_39917811/article/details/111230030
=================
Thank you so much. It turns out I was missing a file called RASAPI16.dll which must be needed for 16-bit applications. I downloaded it from a site called "www.dll-files.com", put it into the \system32 folder and rebooted. I appreciate your help very much.
======================
I received this same error, "Win16 subsystem unable to enter Protected Mode," trying to run a 16-bit app in Windows XP SP2. Googled and looked at a lot of threads, verified the existence of Autoexec.nt and Config.nt, verified proper configuration, verified the existence of mscdexnt.exe, redire.exe, and dosx.exe. Tried the RAM configuration in Config.nt. Another symptom I noticed is "file not found" 3 times when typing "command" at the XP command prompt (CMD).
I tried "dir C:\Windows\System32\dosx.exe" at the CMD line, and got "file not found." So I changed the attributes of the dosx.exe file, removing the S (system) and H (hidden) attributes. I typed "command" at the CMD line, and did NOT get "file not found." I changed the same attributes on redir.exe and mscdexnt.exe. Then, I tried running my 16-bit app, and it ran successfully!
============================================================
实在不行,我想尝试下,在虚拟机xp或者2000下安装,用监视安装软件看看能不能做成绿色版。前提是软件的安装程序是16位,主程序不是16位是不是就行了?
该软件安装包下载:
链接:https://pan.baidu.com/s/18hnqNwA9fST7PqqCV2o9XA
提取码:9r0f
|
|