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 2ddeea321..ee4fd3f3a 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 diff --git a/cppwinrt/main.cpp b/cppwinrt/main.cpp index 79880dfab..4c61daf8d 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); }