增加实例:将hp-socket通讯框架集中到UI

This commit is contained in:
2026-02-26 10:12:15 +08:00
parent 78fa2665b0
commit 269412b371
13 changed files with 356 additions and 44 deletions

View File

@@ -1,7 +1,24 @@
#pragma once
#pragma once
#include "resource.h"
// 注意顺序winsock2.h -> ws2tcpip.h -> iphlpapi.h -> windows.h
#include <winsock2.h>
#include <ws2tcpip.h>
#include <iphlpapi.h>
#include <windows.h>
#include <TlHelp32.h>
#include <shellapi.h>
#include <mutex>
#include <regex>
#include <iostream>
#include <vector>
#include <codecvt>
#include <fstream>
#include <filesystem>
#include <string>
#include <conio.h>
#include <locale>
#include "ezui/Application.h" //app类
#include "EzUI/Window.h" //基础窗口类
@@ -18,4 +35,33 @@
#include "EzUI/LayeredWindow.h"//分层窗口类-可以异型透明窗口
#include "ezui/UIManager.h"//ui管理类(使用xml生成控件)
#include "EzUI/Animation.h"
#include "EzUI/TableView.h"
#include "EzUI/Menu.h"
#include <HPSocket.h>
#include <HPSocket-SSL.h>
#include <sqlite3.h>
#include <sqlite3mc.h>
// 包含 nlohmann 库
#include <nlohmann/json.hpp>
// OpenSSL Headers
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include <openssl/bio.h>
#include <openssl/pem.h>
// Link libraries
#pragma comment(lib, "shell32.lib")
#pragma comment(lib, "ole32.lib")
#pragma comment(lib, "gdi32.lib")
#pragma comment(lib, "advapi32.lib")
#pragma comment(lib, "user32.lib")
#pragma comment(lib, "ws2_32.lib")
#pragma comment(lib, "libssl.lib")
#pragma comment(lib, "libcrypto.lib")
#pragma comment(lib, "crypt32.lib")