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-09-14 23:52
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » The Terminator of DOS Interface Development View 98,412 Replies 290
Floor 181 Posted 2007-06-14 17:15 ·  中国 山东 泰安 联通
初级用户
Credits 32
Posts 14
Joined 2007-06-14 08:57
19-year member
UID 91259
Gender Male
Status Offline
Micro embedded GUI http://www.ecurb2006.com/
It is also a GUI tool. It is also developed by oneself.
I don't know if you have any common points. Are your APIs detailed?
Thanks.
Floor 182 Posted 2007-06-14 19:15 ·  中国 广东 深圳 宝安区 电信
高级用户
★★
Credits 668
Posts 295
Joined 2005-07-26 00:00
21-year member
UID 41110
Gender Male
From 广东深圳
Status Offline
At present, most GUIs under DOS on the market are in C language interface and are imitating Microsoft C for Windows; while the GUI of WinSail is in C++ interface and mainly imitates Visual C++ 6.0.

The download address is "http://www.firstsail.com.cn".

[ Last edited by firstsail on 2007-6-14 at 10:38 PM ]
Floor 183 Posted 2007-06-27 18:25 ·  中国 广东 深圳 电信
高级用户
★★
Credits 668
Posts 295
Joined 2005-07-26 00:00
21-year member
UID 41110
Gender Male
From 广东深圳
Status Offline
(1) Currently, the TCP protocol of WinSail V2.0 has no "timeout" handling and can only be used for "short-term" connections!
(1) Currently, the UDP protocol of WinSail V2.0 is very complete. The application example is in the "Remote_N.Cpp" file in the Sail3000 directory.
Floor 184 Posted 2007-07-04 11:02 ·  中国 广东 深圳 宝安区 电信
初级用户
★★
Credits 138
Posts 67
Joined 2007-07-04 10:11
19-year member
UID 93093
Gender Female
From 云南
Status Offline
Download and give it a try!
Floor 185 Posted 2007-07-09 09:58 ·  中国 山西 晋中 联通
新手上路
Credits 12
Posts 7
Joined 2007-07-07 18:45
19-year member
UID 93399
Gender Male
Status Offline
Great minds! Download first, then top up!!!!
Floor 186 Posted 2007-07-09 11:52 ·  中国 山东 滨州 联通
初级用户
Credits 60
Posts 23
Joined 2007-07-05 00:44
19-year member
UID 93170
Gender Male
Status Offline
Why can't I find the download address?
龙飞电脑网络 中国厨房设备联盟 www.59fei.com
www.chufangshebei.com
Floor 187 Posted 2007-07-09 12:54 ·  中国 广东 深圳 宝安区 电信
高级用户
★★
Credits 668
Posts 295
Joined 2005-07-26 00:00
21-year member
UID 41110
Gender Male
From 广东深圳
Status Offline
"Copy "http://www.firstsail.com.cn/Download/WinSail%20V2.0.rar" to the address bar to download!"
Floor 188 Posted 2007-07-12 00:47 ·  中国 广东 汕头 潮阳区 电信
高级用户
★★★
DOS时空
Credits 713
Posts 348
Joined 2007-02-10 13:59
19-year member
UID 79169
Gender Male
Status Offline
The technical documentation is very detailed
Floor 189 Posted 2007-07-12 01:35 ·  中国 江苏 徐州 电信
高级用户
★★★
中國DOS聯盟常任參議员
Credits 686
Posts 318
Joined 2005-11-04 13:00
20-year member
UID 77577
Gender Male
Status Offline
Although I'm a newbie, I also know this thing is high-tech. Let's give it a thumbs up, what else is there to say!!!
. 繽紛色彩閃出的美麗是因為它沒有分開每種色彩...>/

我的百度空间: BEYOND超越 为什么用DOS
Floor 190 Posted 2007-07-26 14:59 ·  中国 广东 深圳 宝安区 电信
高级用户
★★
Credits 668
Posts 295
Joined 2005-07-26 00:00
21-year member
UID 41110
Gender Male
From 广东深圳
Status Offline
The purpose of WinSail development is for industrial control scenarios. It has undergone nearly ten years of practical application in the market, being safe, stable, and reliable, worthy of everyone's trust!

Interface 1:


Interface 2:


Interface 3:


Interface 4:



Interface 5:


[ Last edited by firstsail on 2007-7-26 at 08:09 PM ]
Floor 191 Posted 2007-07-26 15:56 ·  中国 上海 闵行区 电信
新手上路
Credits 2
Posts 1
Joined 2007-06-14 12:48
19-year member
UID 91287
Gender Male
Status Offline
How to get started with converting from Windows to DOS?
Floor 192 Posted 2007-07-26 20:02 ·  中国 广东 深圳 宝安区 电信
高级用户
★★
Credits 668
Posts 295
Joined 2005-07-26 00:00
21-year member
UID 41110
Gender Male
From 广东深圳
Status Offline
Originally posted by sichy at 2007-7-26 15:56:
How to get started with converting Windows to DOS?


"Above" Can you explain it clearly?
Floor 193 Posted 2007-07-30 14:34 ·  中国 广东 深圳 电信
高级用户
★★
Credits 668
Posts 295
Joined 2005-07-26 00:00
21-year member
UID 41110
Gender Male
From 广东深圳
Status Offline



Actually, it is made by using the MakeDlg.Exe program to convert the dialog box of Visual C++ into the dialog box of WinSail and then adding some code slightly. The source code is as follows

#include <Symbol.h>
#include <MyFrame.h>

extern BOOL bAfxManager;
extern char far AfxString;
extern char strAfxUserName;
extern char strAfxPrintPathName;


void AboutDlg()
{
char buf;

CDialog* pDialog = new CDialog;
pDialog->CreateWindow(0,0,455,287,"About the System");
pDialog->Center();

new CCloseButton(pDialog);

CLabel* pLabel1 = new CLabel(pDialog);
pLabel1->CreateObject(0,19,123,285,NULL);
pLabel1->SetBitmapFlags(TRUE);
pLabel1->SetBackColorDisplay(TRUE);
pLabel1->SetBitmapFile("Bmp\\DESKTOP.BMP");

CLabel* pLabel2 = new CLabel(pDialog);
pLabel2->CreateObject(127,40,273,64,
" Author: Xianhang Company\n"
" Contact number: 13560730316, 0755-27570111\n"
" This computer program is protected by copyright law and international treaties\n"
"If this program (or any part of it) is copied or disseminated without authorization,\n"
"severe civil and criminal sanctions will be imposed, and the maximum possible prosecution will be carried out within the scope permitted by law!");

CListBox* pListBox1 = new CListBox(pDialog);
pListBox1->CreateList(127,160,320,120,NULL);

pListBox1->SetLineCharacter(100);
pListBox1->SetCount(6);
//System
sprintf(buf,"System Name %s",AfxString);
pListBox1->SetSel(0,buf);

//User
sprintf(buf,"User Name %s , %s",
strAfxUserName,
((bAfxManager)?"System Administrator":"Ordinary User"));
pListBox1->SetSel(1,buf);

//Print
sprintf(buf,"Print Port Address %s",strAfxPrintPathName);
pListBox1->SetSel(2,buf);


pDialog->ShowWindow();
pDialog->DoModal();
delete pDialog;

}
Floor 194 Posted 2007-07-31 20:59 ·  中国 广东 深圳 宝安区 电信
高级用户
★★
Credits 668
Posts 295
Joined 2005-07-26 00:00
21-year member
UID 41110
Gender Male
From 广东深圳
Status Offline
1: Add the "NetCard" section in the "Config.Sys" file in the working directory


NetCard = TRUE ; "True" means network card support is needed, "False" means network card support is not needed

HostName = OemComputer ; Host name of this machine
My_IP = 169.254.210.218 ; Host IP address of this machine

PeerName = NT_Server ; Host name of the server/upper computer
You_IP = 169.254.210.218 ; Host IP address of the server/upper computer

NetMask = 255.255.0.0 ; Subnet mask
GateWay = 169.254.1.1 ; Gateway

3: In the Main function, register the "TCP/IP" protocol stack to the system. It must be registered before calling the "int InitSystem(int argc, char** argv)" function.
#include <Symbol.h>
#include <MyFrame.h>

int main (int argc, char** argv)
{
// Register TCP/IP protocol to WinSail V2.0
// Register Tcpip Protoent stack!
// GlobalInitSocket -- Initlize Function For TCPIP!
// GlobalCloseSocket -- Close Function For TCPIP!
// EthernetEntry -- Message Loop For TCPIP!
::AfxRegisterNetcardEntry(::GlobalInitSocket,
::GlobalCloseSocket, ::EthernetEntry);//Register WinSail-TCPIP stack

//Initlize Sysem Kernel
if (!::InitSystem(argc, argv))//Initialize system kernel
{
::CloseSystem();//Close system kernel
::printf("\nInit System Error!");
return(0);
}


//Add your code here
//……

::CloseSystem();//Close WinSail kernel
return (0);
}


4: The TCP/IP protocol packet is based on the "Packet Driver" driver and uses the "60H" interrupt fixedly. For the network card: The "Packet Driver" driver program can be found on the attached network card CD. In the demonstration program Sail3000 directory, there is a directory Internet, which has many manufacturers' Packet drivers. Among them, "RTSPKT.Com" is the driver for the "8139" network card.


5: Currently, the UDP protocol of TCP/IP is very mature, while the performance of the TCP protocol is not very satisfactory because this TCP protocol does not currently support "timeout processing" and does not support "sliding window". If you need to use the TCP protocol for a long time, it is recommended to use a third-party TCP/IP protocol stack (for example: Wattcp).


The TCP/IP protocol inside WinSail currently does not support IP packet fragmentation, does not support TCP packet reassembly, and TCP is just "data packet" not "data stream". Attention should be paid to its limitations when using it.

WinSail V2.0 is mainly used in "industrial control" scenarios. The UDP protocol basically meets the actual on-site needs, so the limitations of the "protocol stack" need to be upgraded in the future, or a third-party TCP/IP protocol stack (such as: Wattcp) is registered to WinSail. Since the code of the TCP/IP protocol stack of WinSail has reached 70K, it is a bit bloated. In the future, the TCP protocol may be removed and only the UDP protocol may be retained!

[ Last edited by firstsail on 2007-7-31 at 09:05 PM ]
Floor 195 Posted 2007-08-21 09:40 ·  中国 广东 深圳 电信
新手上路
Credits 8
Posts 3
Joined 2007-08-21 08:31
19-year member
UID 95466
Gender Male
Status Offline
Why can't sail2000 run under DOS?
program too big to fit in memory
‹ Prev 1 11 12 13 14 15 20 Next ›
Forum Jump: