|
Seirios
新手上路

积分 8
发帖 2
注册 2006-5-4
状态 离线
|
『楼 主』:
给DOS软件作GUI
使用 LLM 解释/回答一下
请问各位如何给DOS软件作Windows下的图形界面!?
谢谢.................................
How do you all make a graphical interface for DOS software under Windows!?
Thanks.................................
|
|
2006-5-4 23:07 |
|
|
Jneny
高级用户
    中國DOS聯盟常任參議员
积分 686
发帖 318
注册 2005-11-4
状态 离线
|
|
2006-5-5 07:53 |
|
|
jawbin
高级用户
   
积分 994
发帖 444
注册 2005-1-29
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
好像说得不是很具体,是让 dos 程序在 windows 下运行并拥有 windows 的图形界面,还是让 dos 下运行的程序由类似 windows 的图形界面?
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?
|
|
2006-5-5 11:29 |
|
|
Seirios
新手上路

积分 8
发帖 2
注册 2006-5-4
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
让 dos 程序在 windows 下运行并拥有 windows 的图形界面
Make DOS programs run under Windows and have a Windows graphical interface
|
|
2006-5-6 14:45 |
|
|
lofe811
初级用户
 
积分 96
发帖 32
注册 2006-4-15
状态 离线
|
|
2006-5-7 21:08 |
|
|
jawbin
高级用户
   
积分 994
发帖 444
注册 2005-1-29
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
你的想法是不切实际的,你想把它表达全面和具体也得费一番工夫,但是即便那样,还是不存在"银弹". 你就试图用 java 吧, 虽然我还没见过一个真正能用的 dos 下的 java 虚拟机.
有个 winio 库,可以使用类似 dos 程序一样的语句来写,它提供 windows 图形界面. 但是面对你宏大的要求, 未必合适.
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.
|
|
2006-5-10 09:56 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
好像在VC++6中编译时添加一个/stub参数就可以了。这样做出来的程序是符合Win32程序的PE(不是PreinstallationEvironment)结构的~~,既可以在纯DOS下运行,也可以在Win32命令行和GUI运行
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.
|
|
2006-5-10 11:05 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
其实Win98里的RegEdit程序就是一个典型的双平台程序。记得RegEdit /restore命令吗?还有在“运行”里启动Regedit?这就是双平台程序
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
|
|
2006-5-10 11:07 |
|
|
jawbin
高级用户
   
积分 994
发帖 444
注册 2005-1-29
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
问题是 regedit 在 dos 下只简单地接受参数, 无很多交互, 否则, 通常这样的双栖倒不如开发两个平台的程序,或者考虑"跨平台", 虽然我也考虑过类似的问题(业务逻辑和输出平台隔离)
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)
|
|
2006-5-10 14:11 |
|
|
jawbin
高级用户
   
积分 994
发帖 444
注册 2005-1-29
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
那个 stub 只能简单地提示不能再在 dos 下运行, PE 文件通常有
Last edited by jawbin on 2006-5-10 at 14:14 ]
That stub can only simply prompt that it can no longer run under DOS. PE files usually have
|
|
2006-5-10 14:12 |
|