mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-05 13:29:03 +08:00
cf2528eb7c
完善了非阻塞IO的SSL功能;将 acl/samples/ 下的示例分别移到 lib_acl 及 lib_protocol 目录下
209 lines
5.4 KiB
Plaintext
209 lines
5.4 KiB
Plaintext
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "afxres.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// 中文(中华人民共和国) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
|
#pragma code_page(936)
|
|
#endif //_WIN32
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE
|
|
BEGIN
|
|
"#include ""afxres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE
|
|
BEGIN
|
|
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
|
|
"#define _AFX_NO_OLE_RESOURCES\r\n"
|
|
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
|
|
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
|
|
"\r\n"
|
|
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
|
|
"LANGUAGE 4, 2\r\n"
|
|
"#pragma code_page(936)\r\n"
|
|
"#include ""res\\winaio.rc2"" // 非 Microsoft Visual C++ 编辑过的资源\r\n"
|
|
"#include ""afxres.rc"" // 标准组件\r\n"
|
|
"#endif\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDR_MAINFRAME ICON "res\\winaio.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_ABOUTBOX DIALOGEX 0, 0, 235, 55
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
|
|
WS_SYSMENU
|
|
CAPTION "关于 winaio"
|
|
FONT 9, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20
|
|
LTEXT "winaio Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
|
|
LTEXT "Copyright (C) 2011",IDC_STATIC,40,25,119,8
|
|
DEFPUSHBUTTON "确定",IDOK,178,7,50,16,WS_GROUP
|
|
END
|
|
|
|
IDD_WINAIO_DIALOG DIALOGEX 0, 0, 320, 200
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE |
|
|
WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_APPWINDOW
|
|
CAPTION "winaio"
|
|
FONT 9, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
DEFPUSHBUTTON "确定",IDOK,263,7,50,16
|
|
PUSHBUTTON "取消",IDCANCEL,263,25,50,16
|
|
PUSHBUTTON "开始",IDC_START,206,140,41,16
|
|
EDITTEXT IDC_OUTPUT,26,14,220,120,ES_MULTILINE | ES_AUTOVSCROLL |
|
|
ES_AUTOHSCROLL
|
|
EDITTEXT IDC_INPUT,26,141,165,16,ES_AUTOHSCROLL
|
|
PUSHBUTTON "测试",IDC_TEST,257,140,41,14
|
|
PUSHBUTTON "连接",IDC_CONNECT,25,165,50,14
|
|
PUSHBUTTON "监听",IDC_LISTEN,86,165,50,14
|
|
PUSHBUTTON "设置定时器",IDC_SET_TIMER,147,165,50,14
|
|
PUSHBUTTON "取消定时器",IDC_DEL_TIMER,206,165,50,14
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION 1,0,0,1
|
|
PRODUCTVERSION 1,0,0,1
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x4L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "080403a8"
|
|
BEGIN
|
|
VALUE "CompanyName", "TODO: <公司名>"
|
|
VALUE "FileDescription", "TODO: <文件说明>"
|
|
VALUE "FileVersion", "1.0.0.1"
|
|
VALUE "InternalName", "winaio.exe"
|
|
VALUE "LegalCopyright", "TODO: (C) <公司名>。保留所有权利。"
|
|
VALUE "OriginalFilename", "winaio.exe"
|
|
VALUE "ProductName", "TODO: <产品名>"
|
|
VALUE "ProductVersion", "1.0.0.1"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "翻译", 0x804, 936
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO
|
|
BEGIN
|
|
IDD_ABOUTBOX, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 228
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 48
|
|
END
|
|
|
|
IDD_WINAIO_DIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 313
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 193
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_ABOUTBOX "关于 winaio(&A)..."
|
|
IDP_SOCKETS_INIT_FAILED "Windows 套接字初始化失败。"
|
|
END
|
|
|
|
#endif // 中文(中华人民共和国) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
#define _AFX_NO_SPLITTER_RESOURCES
|
|
#define _AFX_NO_OLE_RESOURCES
|
|
#define _AFX_NO_TRACKER_RESOURCES
|
|
#define _AFX_NO_PROPERTY_RESOURCES
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
|
|
LANGUAGE 4, 2
|
|
#pragma code_page(936)
|
|
#include "res\winaio.rc2" // 非 Microsoft Visual C++ 编辑过的资源
|
|
#include "afxres.rc" // 标准组件
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|