From 359b8ff7fd2459bd11ad8fa38da49e036fc27054 Mon Sep 17 00:00:00 2001 From: Alexander Sklar Date: Wed, 10 Mar 2021 17:55:23 -0800 Subject: [PATCH 1/2] use app manifest --- cppwinrt/app.manifest | 8 ++++++++ cppwinrt/cppwinrt.vcxproj | 6 ++++++ cppwinrt/cppwinrt.vcxproj.filters | 3 +++ 3 files changed, 17 insertions(+) create mode 100644 cppwinrt/app.manifest diff --git a/cppwinrt/app.manifest b/cppwinrt/app.manifest new file mode 100644 index 000000000..16b477c20 --- /dev/null +++ b/cppwinrt/app.manifest @@ -0,0 +1,8 @@ + + + + + true + + + \ No newline at end of file diff --git a/cppwinrt/cppwinrt.vcxproj b/cppwinrt/cppwinrt.vcxproj index d63b2ce54..3df316424 100644 --- a/cppwinrt/cppwinrt.vcxproj +++ b/cppwinrt/cppwinrt.vcxproj @@ -111,6 +111,9 @@ + + + 15.0 {D613FB39-5035-4043-91E2-BAB323908AF4} @@ -265,6 +268,9 @@ + + app.manifest;%(AdditionalManifestFiles) + diff --git a/cppwinrt/cppwinrt.vcxproj.filters b/cppwinrt/cppwinrt.vcxproj.filters index 21fabf0f2..7720e5dfc 100644 --- a/cppwinrt/cppwinrt.vcxproj.filters +++ b/cppwinrt/cppwinrt.vcxproj.filters @@ -175,4 +175,7 @@ + + + \ No newline at end of file From c4d7dccba2cf433184e752c2231e7054d544be75 Mon Sep 17 00:00:00 2001 From: Alexander Sklar Date: Thu, 11 Mar 2021 08:19:17 -0800 Subject: [PATCH 2/2] missed adding a file to the last commit --- cppwinrt/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/cppwinrt/main.cpp b/cppwinrt/main.cpp index c0a2721cd..b46e08f58 100644 --- a/cppwinrt/main.cpp +++ b/cppwinrt/main.cpp @@ -8,7 +8,6 @@ #include "component_writers.h" #include "file_writers.h" #include "type_writers.h" -#include namespace cppwinrt { @@ -375,7 +374,5 @@ Where is one or more of: int main(int const argc, char** argv) { - // Dynamically enable long path support - ((unsigned char*)(NtCurrentTeb()->ProcessEnvironmentBlock))[3] |= 0x80; return cppwinrt::run(argc, argv); }