From 4dfb88353b3671a71bc397d5f210d71f67f8fb04 Mon Sep 17 00:00:00 2001
From: QuakeGod <quakegod@sina.com>
Date: 星期一, 23 十月 2023 15:17:10 +0800
Subject: [PATCH] fix1

---
 KLink1/KLink1.h |   41 ++++++++++++++++++++++++-----------------
 1 files changed, 24 insertions(+), 17 deletions(-)

diff --git a/KLink1/KLink1.h b/KLink1/KLink1.h
index 2520438..313e067 100644
--- a/KLink1/KLink1.h
+++ b/KLink1/KLink1.h
@@ -1,22 +1,29 @@
-锘�// 涓嬪垪 ifdef 鍧楁槸鍒涘缓浣夸粠 DLL 瀵煎嚭鏇寸畝鍗曠殑
-// 瀹忕殑鏍囧噯鏂规硶銆傛 DLL 涓殑鎵�鏈夋枃浠堕兘鏄敤鍛戒护琛屼笂瀹氫箟鐨� KLINK1_EXPORTS
-// 绗﹀彿缂栬瘧鐨勩�傚湪浣跨敤姝� DLL 鐨�
-// 浠讳綍椤圭洰涓婁笉搴斿畾涔夋绗﹀彿銆傝繖鏍凤紝婧愭枃浠朵腑鍖呭惈姝ゆ枃浠剁殑浠讳綍鍏朵粬椤圭洰閮戒細灏�
-// KLINK1_API 鍑芥暟瑙嗕负鏄粠 DLL 瀵煎叆鐨勶紝鑰屾 DLL 鍒欏皢鐢ㄦ瀹忓畾涔夌殑
-// 绗﹀彿瑙嗕负鏄瀵煎嚭鐨勩��
-#ifdef KLINK1_EXPORTS
-#define KLINK1_API __declspec(dllexport)
-#else
-#define KLINK1_API __declspec(dllimport)
+锘�// KLink1.h: KLink1 DLL 鐨勪富鏍囧ご鏂囦欢
+//
+
+#pragma once
+
+#ifndef __AFXWIN_H__
+	#error "include 'pch.h' before including this file for PCH"
 #endif
 
-// 姝ょ被鏄粠 dll 瀵煎嚭鐨�
-class KLINK1_API CKLink1 {
+#include "resource.h"		// 涓荤鍙�
+
+
+// CKLink1App
+// 鏈夊叧姝ょ被瀹炵幇鐨勪俊鎭紝璇峰弬闃� KLink1.cpp
+//
+
+class CKLink1App : public CWinApp
+{
 public:
-	CKLink1(void);
-	// TODO: 鍦ㄦ澶勬坊鍔犳柟娉曘��
+	CKLink1App();
+
+// 閲嶅啓
+public:
+	virtual BOOL InitInstance();
+
+	DECLARE_MESSAGE_MAP()
+	virtual int ExitInstance();
 };
 
-extern KLINK1_API int nKLink1;
-
-KLINK1_API int fnKLink1(void);

--
Gitblit v1.9.1