From ecde1c8d80d7eee5a7758d6924dbc5f4cb448705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B0=E7=B3=96XH?= <76904365+bingtangxh@users.noreply.github.com> Date: Thu, 26 Mar 2026 22:13:08 +0800 Subject: [PATCH] Remove minwindef include; docs and whitespace cleanup Remove an unnecessary #include from pkgread/typestrans.h and perform minor whitespace cleanups in desktopini/main.cpp and pkgread/dllmain.cpp. Update notes/symlinks.md to explain that appxinfo.h and main.cpp now use #include "..//.h", so the previous symbolic links are no longer required. These are non-functional cleanup and documentation updates. --- desktopini/main.cpp | 1 - notes/symlinks.md | 2 ++ pkgread/dllmain.cpp | 1 - pkgread/typestrans.h | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/desktopini/main.cpp b/desktopini/main.cpp index 5b915e2..041025a 100644 --- a/desktopini/main.cpp +++ b/desktopini/main.cpp @@ -1,6 +1,5 @@ #define _CRT_SECURE_NO_WARNINGS #define HMODULE_MODE_EXE - #include #include #include diff --git a/notes/symlinks.md b/notes/symlinks.md index 244a71f..73f85d0 100644 --- a/notes/symlinks.md +++ b/notes/symlinks.md @@ -14,6 +14,8 @@ 以上文件分别指向的是 `..\\.h` 。 +但是我将源代码当中 appxinfo.h 和 main.cpp 这两个文件的 #include 语句改为了 `#include "..//.h"` ,因此就不需要原来的符号链接了。 + # 一些最终运行所需文件位于 shared 目录 此外,在生成完成后,最终生成的程序需要一些文件,但是这些文件位于的是解决方案的 `shared` 目录。 diff --git a/pkgread/dllmain.cpp b/pkgread/dllmain.cpp index a8de525..c63aef3 100644 --- a/pkgread/dllmain.cpp +++ b/pkgread/dllmain.cpp @@ -1,5 +1,4 @@ // dllmain.cpp : DLL Ӧóڵ㡣 - #include "stdafx.h" BOOL APIENTRY DllMain( HMODULE hModule, diff --git a/pkgread/typestrans.h b/pkgread/typestrans.h index 0297fc1..7abde9b 100644 --- a/pkgread/typestrans.h +++ b/pkgread/typestrans.h @@ -8,7 +8,6 @@ #include #include #include -#include #else #include #include