From 1ecf38217f3f48c9be76cf22e2609e98ab1b6aa1 Mon Sep 17 00:00:00 2001 From: robmikh Date: Sat, 8 Jun 2024 19:26:01 -0700 Subject: [PATCH] move to app manifest --- Win32CaptureSample/Win32CaptureSample.vcxproj | 3 +++ .../Win32CaptureSample.vcxproj.filters | 3 +++ Win32CaptureSample/app.manifest | 21 +++++++++++++++++++ Win32CaptureSample/main.cpp | 2 -- 4 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 Win32CaptureSample/app.manifest diff --git a/Win32CaptureSample/Win32CaptureSample.vcxproj b/Win32CaptureSample/Win32CaptureSample.vcxproj index 4f2fc83..1b61f69 100644 --- a/Win32CaptureSample/Win32CaptureSample.vcxproj +++ b/Win32CaptureSample/Win32CaptureSample.vcxproj @@ -164,6 +164,9 @@ + + + diff --git a/Win32CaptureSample/Win32CaptureSample.vcxproj.filters b/Win32CaptureSample/Win32CaptureSample.vcxproj.filters index e2b59e8..73cfe67 100644 --- a/Win32CaptureSample/Win32CaptureSample.vcxproj.filters +++ b/Win32CaptureSample/Win32CaptureSample.vcxproj.filters @@ -28,4 +28,7 @@ + + + \ No newline at end of file diff --git a/Win32CaptureSample/app.manifest b/Win32CaptureSample/app.manifest new file mode 100644 index 0000000..09a9d99 --- /dev/null +++ b/Win32CaptureSample/app.manifest @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Win32CaptureSample/main.cpp b/Win32CaptureSample/main.cpp index 7917b5d..d03b190 100644 --- a/Win32CaptureSample/main.cpp +++ b/Win32CaptureSample/main.cpp @@ -2,8 +2,6 @@ #include "App.h" #include "SampleWindow.h" -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") - namespace winrt { using namespace Windows::Graphics::Capture;