中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-15 00:22
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » Microsoft C Compile Error under DOS
Printable Version  1,239 / 1
Floor1 regical Posted 2003-03-13 00:00
初级用户 Posts 1 Credits 105
+++ PWB Compile TT.C

cl @TT.rsp
run-time error R6901
- DOSX32 : This is a protected-mode application that requires DPMI
(DOS Protected Mode Interface) services. Examples of hosts that provide
these services include:
- a DOS session under Windows 3.x in enhanced mode
- Qualitas' 386MAX or BlueMAX version 6.x

The program is very simple, it just prints one line of letters, and I'm extremely puzzled.
Does any expert know where the problem is?
Floor2 Wengier Posted 2003-03-14 00:00
系统支持 Posts 10,521 Credits 27,736
It means a DPMI host is required, for example in a DOS window under Win3.x, QDPMI, etc.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023