  『楼 主』:
DOS的界面开发终结者
使用 LLM 解释/回答一下
我个人开发出了一个“WINSail” 软件,其完全是免费的一套软件,完整的
“库文件”、“头文件”“说明书”和“源代码”可在"www.FirstSail.B2B.Cn中下载得到。
它基于DOS系统,用Borland C++3.1语言,在Large大模式下开发出来的软件开发包。虽然说完整的软件包大约只有450K左右,却能在DOS下生成的程序具有与WIN9x完全相同的界面,拥有Group、Label、Edit、ComboBox、Button、Radio、Check、ListBox、Grid、ScrollBar、Desktop、ToolsBar、StatusBar、Menu、PopuMenu、Window、Dialog、ICON、Bitmap、示波器等界面元素,支持鼠标,控件的操作99.9%与Windows兼容!可加载运行脚本对话框;支持Socket套接字编程;具有完整窗口图形界面的最小应用只有150K左右,可在只有1M的电子盘中运行;具有0.5uS微秒精确度的delay函数。可以说 DOS + WinSail >= Windows CE
“WinSail工业控制开发系统”目前支持:
(1) “WinSail”的API与“C++ For DOS”函数库“共存”,特别是与C语言的图形函数BGI共存。
(2) 支持具有优先级的多任务,同时可达到50个任务。(注:可配置脚本文件来不需要多任务支持,使程序运行于单任务中) 。
(3) 支持数据库,生成的文件与Foxpro 2.6库兼容,可在微软Office的Excel中直接打开。
(4) 使用16*16的简体、繁体中文字库、8*16的英文字库,支持TrueType字库。
(5) “对话框”能在Visual C++预先做好界面,然后通过转换软件,能使Windows的对话框界面变成“WinSail”系统的对话框的界面代码源文件或脚本文件,充分利用Visual的优越性,使DOS平台的应用程序界面开发“不再难”!!!!!
(6) 支持600*480*16、600*400*256、800*600*256、1024*768*256多种分辩率。
(7) 支持Group、Label、Edit、ComboBox、Button、Radio、Check、ListBox、Grid、ScrollBar、Desktop、ToolsBar、StatusBar、Menu、PopuMenu、Window、Dialog、ICON、Bitmap、MessageBox、示波器、多元纵坐标示波器等界面元素。
(8) 支持扩展内存--XMS、扩充内存EMS的内存访问。
(9) 支持文本注册表--INI文件的读写,在写键值时,可保证在键值后面的“注释内容”仍然还存在。
(10) 支持面向对象的I/O访问,屏蔽底层I/O口。
(11) 具有COMM口通讯接口,支持多种校验位,包括“没有校验位”、“奇校验位”、“偶校验位”、“校验位永为1”、“校验位永为0”。后两种校验方式多用在多机通讯中区别“地址”和“数据”。
(12) 支持条形码显示。包括EAN_8、UPC_A、UPC_E、EAN_13(商品码)、ISBN、ISSN、39、128、Codabar、交叉25码
(13) 窗口支持“用I/O口定义的虚拟键盘”、“窗口定时器”、“空闲时调用某函数”、“窗口刷新时调用某函数”等多种回调函数。
(14) 多种常用数学运算,包括“低通”、“高通”、“带通”、“带阻”滤波器系数的产生(可加矩形窗、三角形窗、汉宁窗、海明窗、布莱克窗、Sin(x)/x窗、余弦窗、凯塞窗),滤波、插值、拟合、微积分、相关分析、FFT、DFT等。
(15) 统计进程SPC和直方图、测量的可靠性和重复性GageR&R报表。
(16) 支持“Bitmap”、“ICON”图像文件的显示、“Wav”声音文件的播放。
(17) 支持“普通示波器”和“多纵坐标示波器”。
(18) 支持Socket 套接字编程。
I have personally developed a software called "WINSail", which is a completely free set of software. The complete "library files", "header files", "instructions", and "source code" can be downloaded from "www.FirstSail.B2B.Cn". It is a software development package developed under the Large model using Borland C++ 3.1 language based on the DOS system. Although the complete software package is about 450K, the programs generated under DOS can have the exactly same interface as WIN9x, with interface elements such as Group, Label, Edit, ComboBox, Button, Radio, Check, ListBox, Grid, ScrollBar, Desktop, ToolsBar, StatusBar, Menu, PopuMenu, Window, Dialog, ICON, Bitmap, oscilloscope, etc. It supports the mouse, and the operation of controls is 99.9% compatible with Windows! It can load and run script dialog boxes; supports Socket socket programming; the smallest application with a complete window graphic interface is about 150K and can run in an electronic disk with only 1M; has a delay function with an accuracy of 0.5 microseconds. It can be said that DOS + WinSail >= Windows CE.
The "WinSail Industrial Control Development System" currently supports:
(1) The API of "WinSail" coexists with the "C++ For DOS" function library, especially coexists with the graphic function BGI of the C language.
(2) Supports multi-tasking with priorities, and can reach up to 50 tasks. (Note: The configuration script file can be used to not require multi-tasking support, so that the program runs in a single task.)
(3) Supports databases, and the generated files are compatible with Foxpro 2.6 libraries and can be directly opened in Microsoft Office's Excel.
(4) Uses 16*16 simplified and traditional Chinese character fonts, 8*16 English character fonts, and supports TrueType character fonts.
(5) The "dialog box" can be pre-made in Visual C++, and then through the conversion software, the Windows dialog box interface can be converted into the interface code source file or script file of the "WinSail" system, making full use of the superiority of Visual, so that the interface development of application programs on the DOS platform "is no longer difficult"!!!!!
(6) Supports multiple resolutions such as 600*480*16, 600*400*256, 800*600*256, 1024*768*256.
(7) Supports interface elements such as Group, Label, Edit, ComboBox, Button, Radio, Check, ListBox, Grid, ScrollBar, Desktop, ToolsBar, StatusBar, Menu, PopuMenu, Window, Dialog, ICON, Bitmap, MessageBox, oscilloscope, multi-ordinate oscilloscope, etc.
(8) Supports memory access to extended memory - XMS and expanded memory EMS.
(9) Supports reading and writing of text registry - INI files, and when writing key values, it can ensure that the "comment content" behind the key values still exists.
(10) Supports object-oriented I/O access and shields the underlying I/O ports.
(11) Has a COMM port communication interface and supports multiple parity bits, including "no parity bit", "odd parity bit", "even parity bit", "parity bit always 1", "parity bit always 0". The latter two parity methods are mostly used in multi-machine communication to distinguish "address" and "data".
(12) Supports barcode display. Including EAN_8, UPC_A, UPC_E, EAN_13 (product code), ISBN, ISSN, 39, 128, Codabar, cross 25 code.
(13) The window supports multiple callback functions such as "virtual keyboard defined by I/O port", "window timer", "call a function when idle", "call a function when the window is refreshed", etc.
(14) Multiple common mathematical operations, including the generation of coefficients of "low-pass", "high-pass", "band-pass", "band-stop" filters (rectangular window, triangular window, Hanning window, Hamming window, Blackman window, Sin(x)/x window, cosine window, Kaiser window can be added), filtering, interpolation, fitting, calculus, correlation analysis, FFT, DFT, etc.
(15) Statistical process SPC and histogram, measurement reliability and repeatability GageR&R report.
(16) Supports display of "Bitmap", "ICON" image files and playback of "Wav" sound files.
(17) Supports "ordinary oscilloscope" and "multi-ordinate oscilloscope".
(18) Supports Socket socket programming.
此帖被 +17 点积分 点击查看详情 评分人:【 redtek 】 | 分数: +2 | 时间:2006-11-7 21:17 | 评分人:【 pengfei 】 | 分数: +5 | 时间:2006-11-15 22:28 | 评分人:【 henrya2 】 | 分数: +4 | 时间:2007-4-30 23:30 | 评分人:【 AlexZhang 】 | 分数: +4 | 时间:2007-8-6 09:41 | 评分人:【 fqljwdyq 】 | 分数: +1 | 时间:2007-12-12 19:00 | 评分人:【 153146156 】 | 分数: +1 | 时间:2008-6-1 02:12 |
|
|