From d4251d33cc2ae151e51e6c0803c372a25968065f Mon Sep 17 00:00:00 2001
From: HugoChaan <784028997@qq.com>
Date: Tue, 19 Aug 2025 10:59:16 +0800
Subject: [PATCH] windows ci
---
windows/APIExample/APIExample/APIExample.vcxproj | 4 ++++
windows/APIExample/APIExample/Advanced/Beauty/CDlgBeauty.cpp | 2 +-
windows/APIExample/install.ps1 | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/windows/APIExample/APIExample/APIExample.vcxproj b/windows/APIExample/APIExample/APIExample.vcxproj
index e64e4d296..0347a92e1 100644
--- a/windows/APIExample/APIExample/APIExample.vcxproj
+++ b/windows/APIExample/APIExample/APIExample.vcxproj
@@ -97,6 +97,7 @@
WIN32;_WINDOWS;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
$(solutionDir)ThirdParty\libFFmpeg\include;$(solutionDir)ThirdParty\Boost;$(SolutionDir)sdk\high_level_api\include;$(solutionDir)ThirdParty\libYUV;$(ProjectDir)
MultiThreadedDLL
+ /utf-8 %(AdditionalOptions)
Windows
@@ -145,6 +146,7 @@ if exist $(SolutionDir)APIExample\res\hdr_1280_720.yuv (copy $(SolutionDir)APIEx
_WINDOWS;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
$(SolutionDir)sdk\high_level_api\include;$(solutionDir)ThirdParty\libYUV\;$(solutionDir)ThirdParty\Boost;$(solutionDir)ThirdParty\libFFmpeg\include;$(ProjectDir)
MultiThreadedDLL
+ /utf-8 %(AdditionalOptions)
Windows
@@ -189,6 +191,7 @@ if exist $(SolutionDir)APIExample\res\hdr_1280_720.yuv (copy $(SolutionDir)APIEx
WIN32;_WINDOWS;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions);
$(solutionDir)ThirdParty\Boost;$(SolutionDir)sdk\high_level_api\include;$(solutionDir)ThirdParty\libFFmpeg\include;$(solutionDir)ThirdParty\libYUV;$(ProjectDir)
MultiThreadedDLL
+ /utf-8 %(AdditionalOptions)
Windows
@@ -240,6 +243,7 @@ if exist $(SolutionDir)APIExample\res\hdr_1280_720.yuv (copy $(SolutionDir)APIEx
_WINDOWS;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
$(solutionDir)ThirdParty\Boost;$(SolutionDir)sdk\high_level_api\include;$(solutionDir)ThirdParty\libFFmpeg\include;$(solutionDir)ThirdParty\libYUV;$(ProjectDir)
MultiThreadedDLL
+ /utf-8 %(AdditionalOptions)
Windows
diff --git a/windows/APIExample/APIExample/Advanced/Beauty/CDlgBeauty.cpp b/windows/APIExample/APIExample/Advanced/Beauty/CDlgBeauty.cpp
index a3610f6ec..139dbf489 100755
--- a/windows/APIExample/APIExample/Advanced/Beauty/CDlgBeauty.cpp
+++ b/windows/APIExample/APIExample/Advanced/Beauty/CDlgBeauty.cpp
@@ -341,7 +341,7 @@ BOOL CDlgBeauty::OnInitDialog()
CString strPath = GetExePath() + _T("\\agora.png");
m_imgPath = cs2utf8(strPath);
ResumeStatus();
-
+ mCkExtention.ShowWindow(SW_HIDE);
return TRUE; // return TRUE unless you set the focus to a control
}
diff --git a/windows/APIExample/install.ps1 b/windows/APIExample/install.ps1
index d2418da84..19c5bae6d 100644
--- a/windows/APIExample/install.ps1
+++ b/windows/APIExample/install.ps1
@@ -1,4 +1,4 @@
-$agora_sdk = 'https://download.agora.io/sdk/release/Agora_Native_SDK_for_Windows_v4.5.2_FULL.zip'
+$agora_sdk = 'https://download.shengwang.cn/sdk/release/Shengwang_Native_SDK_for_Windows_v4.6.0_FULL.zip'
$ThirdPartysrc = 'https://fullapp.oss-cn-beijing.aliyuncs.com/API-Examples/ThirdParty.zip'
$ThirdPartydes = 'ThirdParty.zip'
$agora_des = 'AgoraSdk.zip'