Chinaunix首页 | 论坛 | 博客
  • 博客访问: 27602
  • 博文数量: 15
  • 博客积分: 530
  • 博客等级: 中士
  • 技术积分: 170
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 14:10
文章分类

全部博文(15)

文章存档

2011年(4)

2009年(8)

2008年(3)

我的朋友

分类:

2009-11-26 16:48:59

HX DOS-Extender is a free DOS extender with built-in Win32 PE file format support. Usually the purpose of a DOS extender is to make protected-mode features available for DOS applications. This allows to run "simple" Win32 GUI apps in DOS as well.

If you just want to run some Win32 console applications in DOS you don't need to care much about these binaries, because most of them are loaded automatically just when they are needed. The one thing one has to do to activate HX's Win32 support in pure DOS is to run HXLdr32, which is a tiny DOS TSR.

1.Download HXRT215.zip from or click here
2.Modify AUTOEXEC.BAT in your pure dos system, add HXLDR32.EXE to it. A simple example is as follows:
---------------------------------------------------------------------------
@echo off
cls
path a:\;
HXLDR32.EXE
---------------------------------------------------------------------------
3.Add run-time library if it is needed.

We can test it by using 7za, md5sum, etc.

There is a package called 7za.rar, extract 7za.exe to a place you can find in pure dos mode. Now, it works.

文件:7za.rar
大小:234KB
下载:下载
As md5sum and sha1sum we can compile it by mingw or cygwin. Truely, they depend on a DDL called msvcrt.dll, whitch is a basic math library. You can find it in SYSTEM32 on windows XP. Or you can download it here.
文件:msvcrt.rar
大小:108KB
下载:下载
There are the md5sum and sha1sum sourcecode for win32. Compile them first and put msvcrt.dll with the binaries together. Now, you can run sha1sum in PURE DOS.
文件:sha1sum-w32.rar
大小:2KB
下载:下载

文件:md5sum-w32.zip
大小:3KB
下载:下载

Andreas Zhang's Blog.
If you need further information about HX DOS-Extender, please refer to
阅读(2061) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-11-24 10:25:30

sdsssx