China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 22:13
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Make a GUI for DOS software View 1,572 Replies 9
Original Poster Posted 2006-05-04 23:07 ·  中国 天津 红桥区 联通
新手上路
Credits 8
Posts 2
Joined 2006-05-04 23:00
20-year member
UID 54942
Gender Male
Status Offline
How do you all make a graphical interface for DOS software under Windows!?

Thanks.................................
Floor 2 Posted 2006-05-05 07:53 ·  中国 上海 闵行区 电信
高级用户
★★★
中國DOS聯盟常任參議员
Credits 686
Posts 318
Joined 2005-11-04 13:00
20-year member
UID 77577
Gender Male
Status Offline
New DOS Era http://www.cn-dos.net/newdos/dosmain.htm
、Find it yourself
Floor 3 Posted 2006-05-05 11:29 ·  中国 湖北 荆州 电信
高级用户
★★★
Credits 994
Posts 444
Joined 2005-01-29 00:00
21-year member
UID 35779
Gender Male
Status Offline
It seems not very specific. Is it to make DOS programs run under Windows and have the graphical interface of Windows, or to have a graphical interface similar to Windows for programs running under DOS?
Floor 4 Posted 2006-05-06 14:45 ·  中国 天津 红桥区 联通
新手上路
Credits 8
Posts 2
Joined 2006-05-04 23:00
20-year member
UID 54942
Gender Male
Status Offline
Make DOS programs run under Windows and have a Windows graphical interface
Floor 5 Posted 2006-05-07 21:08 ·  中国 陕西 西安 电信
初级用户
Credits 96
Posts 32
Joined 2006-04-15 16:03
20-year member
UID 53877
Status Offline
Floor 6 Posted 2006-05-10 09:56 ·  中国 湖北 荆州 电信
高级用户
★★★
Credits 994
Posts 444
Joined 2005-01-29 00:00
21-year member
UID 35779
Gender Male
Status Offline
Your idea is unrealistic. It will take some effort for you to express it comprehensively and specifically, but even then, there is no "silver bullet". Just try using Java. Although I haven't seen a truly usable Java virtual machine under DOS yet. There is a winio library that can be written using statements similar to DOS programs, and it provides a Windows graphical interface. But it may not be suitable for your grand requirements.
Floor 7 Posted 2006-05-10 11:05 ·  IANA 局域网IP(Private-Use)
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
It seems that adding a /stub parameter when compiling in VC++6 will do. The program made this way conforms to the PE (not PreinstallationEvironment) structure of Win32 programs~~, which can run not only in pure DOS but also in Win32 command line and GUI.
Floor 8 Posted 2006-05-10 11:07 ·  IANA 局域网IP(Private-Use)
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
In fact, the RegEdit program in Win98 is a typical dual-platform program. Remember the RegEdit /restore command? And starting Regedit in "Run"? This is a dual-platform program
Floor 9 Posted 2006-05-10 14:11 ·  中国 湖北 荆州 电信
高级用户
★★★
Credits 994
Posts 444
Joined 2005-01-29 00:00
21-year member
UID 35779
Gender Male
Status Offline
The problem is that regedit simply accepts parameters under DOS and has little interaction. Otherwise, usually such a dual - use is not as good as developing programs for two platforms, or considering "cross - platform". Although I have also considered similar problems (isolating business logic and output platforms)
Floor 10 Posted 2006-05-10 14:12 ·  中国 湖北 荆州 电信
高级用户
★★★
Credits 994
Posts 444
Joined 2005-01-29 00:00
21-year member
UID 35779
Gender Male
Status Offline
That stub can only simply prompt that it can no longer run under DOS. PE files usually have
Forum Jump: