![]() |
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-08-01 21:07 |
48,037 topics / 350,122 posts / today 2 new / 48,249 members |
| DOS开发编程 & 发展交流 (开发室) » Make a GUI for DOS software |
| Printable Version 1,570 / 9 |
| Floor1 Seirios | Posted 2006-05-04 23:07 |
| 新手上路 Posts 2 Credits 8 | |
|
How do you all make a graphical interface for DOS software under Windows!?
Thanks................................. |
|
| Floor2 Jneny | Posted 2006-05-05 07:53 |
| 高级用户 Posts 318 Credits 686 | |
|
New DOS Era http://www.cn-dos.net/newdos/dosmain.htm
、Find it yourself |
|
| Floor3 jawbin | Posted 2006-05-05 11:29 |
| 高级用户 Posts 444 Credits 994 | |
|
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?
|
|
| Floor4 Seirios | Posted 2006-05-06 14:45 |
| 新手上路 Posts 2 Credits 8 | |
|
Make DOS programs run under Windows and have a Windows graphical interface
|
|
| Floor5 lofe811 | Posted 2006-05-07 21:08 |
| 初级用户 Posts 32 Credits 96 | |
| Floor6 jawbin | Posted 2006-05-10 09:56 |
| 高级用户 Posts 444 Credits 994 | |
|
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.
|
|
| Floor7 electronixtar | Posted 2006-05-10 11:05 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
|
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.
|
|
| Floor8 electronixtar | Posted 2006-05-10 11:07 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
|
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
|
|
| Floor9 jawbin | Posted 2006-05-10 14:11 |
| 高级用户 Posts 444 Credits 994 | |
|
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)
|
|
| Floor10 jawbin | Posted 2006-05-10 14:12 |
| 高级用户 Posts 444 Credits 994 | |
|
That stub can only simply prompt that it can no longer run under DOS. PE files usually have
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |