Remove minwindef include; docs and whitespace cleanup

Remove an unnecessary #include <minwindef.h> 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 "../<ProjectName>/<ProjectName>.h", so the previous symbolic links are no longer required. These are non-functional cleanup and documentation updates.
This commit is contained in:
冰糖XH
2026-03-26 22:13:08 +08:00
parent 79674b639b
commit ecde1c8d80
4 changed files with 2 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
#define _CRT_SECURE_NO_WARNINGS
#define HMODULE_MODE_EXE
#include <iostream>
#include <iomanip>
#include <string>

View File

@@ -14,6 +14,8 @@
以上文件分别指向的是 `..\<ProjectName>\<ProjectName>.h`
但是我将源代码当中 appxinfo.h 和 main.cpp 这两个文件的 #include 语句改为了 `#include "../<ProjectName>/<ProjectName>.h"` ,因此就不需要原来的符号链接了。
# 一些最终运行所需文件位于 shared 目录
此外,在生成完成后,最终生成的程序需要一些文件,但是这些文件位于的是解决方案的 `shared` 目录。

View File

@@ -1,5 +1,4 @@
// dllmain.cpp : 定义 DLL 应用程序的入口点。
#include "stdafx.h"
BOOL APIENTRY DllMain( HMODULE hModule,

View File

@@ -8,7 +8,6 @@
#include <cstdlib>
#include <cstdbool>
#include <cstring>
#include <minwindef.h>
#else
#include <stdio.h>
#include <stdlib.h>