From 425e1cc1a24481bf82a816f36c26d50f2f3bd560 Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 09:45:54 -0400 Subject: [PATCH 01/16] wincpp --- ports/wincpp/add-install.patch | 27 +++++++++++++++++++++++++++ ports/wincpp/portfile.cmake | 22 ++++++++++++++++++++++ ports/wincpp/vcpkg.json | 12 ++++++++++++ versions/baseline.json | 4 ++++ versions/w-/wincpp.json | 9 +++++++++ 5 files changed, 74 insertions(+) create mode 100644 ports/wincpp/add-install.patch create mode 100644 ports/wincpp/portfile.cmake create mode 100644 ports/wincpp/vcpkg.json create mode 100644 versions/w-/wincpp.json diff --git a/ports/wincpp/add-install.patch b/ports/wincpp/add-install.patch new file mode 100644 index 00000000000000..1e98a3ade73f9f --- /dev/null +++ b/ports/wincpp/add-install.patch @@ -0,0 +1,27 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 9d5adce..9df2a8a 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -36,7 +36,6 @@ set(header_files + + # Add the library to the project + add_library(_wincpp_core INTERFACE) +- + # Add the include directory to the project + target_sources(_wincpp_core INTERFACE ${header_files}) + +@@ -89,3 +88,14 @@ target_sources(wincpp PRIVATE + + # Add the include directory to the project + target_include_directories(wincpp PRIVATE ${include_dir}) ++ ++include(GNUInstallDirs) ++# Install wincpp library ++install(TARGETS wincpp EXPORT wincpp ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ++ INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ++) ++ ++install(FILES ${header_files} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) diff --git a/ports/wincpp/portfile.cmake b/ports/wincpp/portfile.cmake new file mode 100644 index 00000000000000..2bd08df86c6b8d --- /dev/null +++ b/ports/wincpp/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO atrexus/wincpp + REF "v${VERSION}" + SHA512 43674f7e899ce1d4088ad76f4f224c8202aa6af508211cbbae69366ca6467cf61520e0c65d852d0ad805045e9b3d69d414b6ba434d4c8b64becac120d28df294 + HEAD_REF main + PATCHES + add-install.patch +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DBUILD_EXAMPLES=OFF + -DBUILD_PACKAGE=OFF +) + +vcpkg_cmake_install() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/wincpp/vcpkg.json b/ports/wincpp/vcpkg.json new file mode 100644 index 00000000000000..57912b6c2f0722 --- /dev/null +++ b/ports/wincpp/vcpkg.json @@ -0,0 +1,12 @@ +{ + "name": "wincpp", + "version": "1.5.3.6", + "description": "A fully featured Win32 wrapper written in modern C++", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 6f090fd869f408..8078c97f5eee05 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -10776,6 +10776,10 @@ "baseline": "0.4.6", "port-version": 1 }, + "wincpp": { + "baseline": "1.5.3.6", + "port-version": 0 + }, "wincrypt": { "baseline": "0.0", "port-version": 4 diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json new file mode 100644 index 00000000000000..6f70963ea6f628 --- /dev/null +++ b/versions/w-/wincpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "f11dfb55a5f8df400ea47728f93c27ce95c32525", + "version": "1.5.3.6", + "port-version": 0 + } + ] +} From a3b9213ca49c678796bea6cd63e52d06e3feada8 Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 09:54:46 -0400 Subject: [PATCH 02/16] fix wincpp --- ports/wincpp/vcpkg.json | 1 + versions/w-/wincpp.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ports/wincpp/vcpkg.json b/ports/wincpp/vcpkg.json index 57912b6c2f0722..529265b756c2d7 100644 --- a/ports/wincpp/vcpkg.json +++ b/ports/wincpp/vcpkg.json @@ -3,6 +3,7 @@ "version": "1.5.3.6", "description": "A fully featured Win32 wrapper written in modern C++", "license": "MIT", + "supports": "windows", "dependencies": [ { "name": "vcpkg-cmake", diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index 6f70963ea6f628..21d0802a0c1b44 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "f11dfb55a5f8df400ea47728f93c27ce95c32525", + "git-tree": "a44aa26695038409149fa6f6e5438d7f67ec3cf0", "version": "1.5.3.6", "port-version": 0 } From a1269085fb9f1d4bb8c8f83d80af05e059096586 Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 10:08:36 -0400 Subject: [PATCH 03/16] fix 32 bit build --- ports/wincpp/fix-32bit.patch | 32 ++++++++++++++++++++++++++++++++ ports/wincpp/portfile.cmake | 1 + versions/w-/wincpp.json | 2 +- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 ports/wincpp/fix-32bit.patch diff --git a/ports/wincpp/fix-32bit.patch b/ports/wincpp/fix-32bit.patch new file mode 100644 index 00000000000000..fe72ad6da6edaa --- /dev/null +++ b/ports/wincpp/fix-32bit.patch @@ -0,0 +1,32 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 38768ee..9df2a8a 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -89,6 +89,7 @@ target_sources(wincpp PRIVATE + # Add the include directory to the project + target_include_directories(wincpp PRIVATE ${include_dir}) + ++include(GNUInstallDirs) + # Install wincpp library + install(TARGETS wincpp EXPORT wincpp + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} +diff --git a/src/memory_factory.cpp b/src/memory_factory.cpp +index 50cd83d..360bfce 100644 +--- a/src/memory_factory.cpp ++++ b/src/memory_factory.cpp +@@ -24,7 +24,7 @@ namespace wincpp + } + case wincpp::memory_type::remote_t: + { +- std::size_t read; ++ SIZE_T read; + + if ( !ReadProcessMemory( p->handle->native, reinterpret_cast< void* >( address ), buffer, size, &read ) || read != size ) + return false; +@@ -201,4 +201,4 @@ namespace wincpp + + return nullptr; + } +-} // namespace wincpp +\ No newline at end of file ++} // namespace wincpp diff --git a/ports/wincpp/portfile.cmake b/ports/wincpp/portfile.cmake index 2bd08df86c6b8d..55c58c7e719480 100644 --- a/ports/wincpp/portfile.cmake +++ b/ports/wincpp/portfile.cmake @@ -6,6 +6,7 @@ vcpkg_from_github( HEAD_REF main PATCHES add-install.patch + fix-32bit.patch ) vcpkg_cmake_configure( diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index 21d0802a0c1b44..1d93d476e20864 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "a44aa26695038409149fa6f6e5438d7f67ec3cf0", + "git-tree": "61e65c1046f64f8986e2105b26b13d32029e7c38", "version": "1.5.3.6", "port-version": 0 } From 92866afb5febe8ee21c9d8e9403ab5112524f57b Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 10:47:05 -0400 Subject: [PATCH 04/16] oops fix patch --- ports/wincpp/fix-32bit.patch | 12 ------------ versions/w-/wincpp.json | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/ports/wincpp/fix-32bit.patch b/ports/wincpp/fix-32bit.patch index fe72ad6da6edaa..104373908afeea 100644 --- a/ports/wincpp/fix-32bit.patch +++ b/ports/wincpp/fix-32bit.patch @@ -1,15 +1,3 @@ -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 38768ee..9df2a8a 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -89,6 +89,7 @@ target_sources(wincpp PRIVATE - # Add the include directory to the project - target_include_directories(wincpp PRIVATE ${include_dir}) - -+include(GNUInstallDirs) - # Install wincpp library - install(TARGETS wincpp EXPORT wincpp - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} diff --git a/src/memory_factory.cpp b/src/memory_factory.cpp index 50cd83d..360bfce 100644 --- a/src/memory_factory.cpp diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index 1d93d476e20864..90b3fc95459874 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "61e65c1046f64f8986e2105b26b13d32029e7c38", + "git-tree": "f4f38ddda08179892f255e9caa19c35d77767be0", "version": "1.5.3.6", "port-version": 0 } From f9540c3f4009b7ecf4207150af727a6115fcbbb7 Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 10:58:55 -0400 Subject: [PATCH 05/16] fix --- ports/wincpp/add-installTarget.patch | 19 +++++++++++++++++++ ports/wincpp/portfile.cmake | 1 + versions/w-/wincpp.json | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 ports/wincpp/add-installTarget.patch diff --git a/ports/wincpp/add-installTarget.patch b/ports/wincpp/add-installTarget.patch new file mode 100644 index 00000000000000..159caa84987c17 --- /dev/null +++ b/ports/wincpp/add-installTarget.patch @@ -0,0 +1,19 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 9df2a8a..b26af43 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -99,3 +99,14 @@ install(TARGETS wincpp EXPORT wincpp + ) + + install(FILES ${header_files} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) ++ ++include(CMakePackageConfigHelpers) ++write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" VERSION 1.5.3.6 COMPATIBILITY AnyNewerVersion) ++file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/wincppConfig.cmake" "include(\${CMAKE_CURRENT_LIST_DIR}/wincppTargets.cmake)\n") ++install(FILES ++ "${CMAKE_CURRENT_BINARY_DIR}/wincppConfig.cmake" ++ "${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp ++) ++ ++install(EXPORT wincppTargets FILE wincppTargets.cmake NAMESPACE wincpp:: DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp) diff --git a/ports/wincpp/portfile.cmake b/ports/wincpp/portfile.cmake index 55c58c7e719480..23691cab6271e6 100644 --- a/ports/wincpp/portfile.cmake +++ b/ports/wincpp/portfile.cmake @@ -7,6 +7,7 @@ vcpkg_from_github( PATCHES add-install.patch fix-32bit.patch + add-installTarget.patch ) vcpkg_cmake_configure( diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index 90b3fc95459874..4069936b86df74 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "f4f38ddda08179892f255e9caa19c35d77767be0", + "git-tree": "e745335235286c922e39143635407f75a2fd8625", "version": "1.5.3.6", "port-version": 0 } From 5d84008b8ad26cbe0f867783b82c9272f21167d2 Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 11:03:52 -0400 Subject: [PATCH 06/16] fix --- ports/wincpp/add-installTarget.patch | 13 +++++++++++-- versions/w-/wincpp.json | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ports/wincpp/add-installTarget.patch b/ports/wincpp/add-installTarget.patch index 159caa84987c17..38f05a5c3c4b57 100644 --- a/ports/wincpp/add-installTarget.patch +++ b/ports/wincpp/add-installTarget.patch @@ -1,7 +1,16 @@ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 9df2a8a..b26af43 100644 +index 9df2a8a..e8e4d77 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt +@@ -91,7 +91,7 @@ target_include_directories(wincpp PRIVATE ${include_dir}) + + include(GNUInstallDirs) + # Install wincpp library +-install(TARGETS wincpp EXPORT wincpp ++install(TARGETS wincpp EXPORT wincpp-export + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} @@ -99,3 +99,14 @@ install(TARGETS wincpp EXPORT wincpp ) @@ -16,4 +25,4 @@ index 9df2a8a..b26af43 100644 + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp +) + -+install(EXPORT wincppTargets FILE wincppTargets.cmake NAMESPACE wincpp:: DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp) ++install(EXPORT wincpp-export FILE wincppTargets.cmake NAMESPACE wincpp:: DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp) diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index 4069936b86df74..e1c5cfa31a1454 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "e745335235286c922e39143635407f75a2fd8625", + "git-tree": "5b01c9f6effbef079528b09598aa1c8df5324473", "version": "1.5.3.6", "port-version": 0 } From 57ec7b1261c3cc7ec1f1f02d566915f7c9cca68b Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 11:07:37 -0400 Subject: [PATCH 07/16] fix --- ports/wincpp/add-install.patch | 27 ------------ ports/wincpp/add-installTarget.patch | 28 ------------- ports/wincpp/fix-32bit.patch | 20 --------- ports/wincpp/fix-install-and-w32.patch | 58 ++++++++++++++++++++++++++ ports/wincpp/portfile.cmake | 4 +- versions/w-/wincpp.json | 2 +- 6 files changed, 60 insertions(+), 79 deletions(-) delete mode 100644 ports/wincpp/add-install.patch delete mode 100644 ports/wincpp/add-installTarget.patch delete mode 100644 ports/wincpp/fix-32bit.patch create mode 100644 ports/wincpp/fix-install-and-w32.patch diff --git a/ports/wincpp/add-install.patch b/ports/wincpp/add-install.patch deleted file mode 100644 index 1e98a3ade73f9f..00000000000000 --- a/ports/wincpp/add-install.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 9d5adce..9df2a8a 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -36,7 +36,6 @@ set(header_files - - # Add the library to the project - add_library(_wincpp_core INTERFACE) -- - # Add the include directory to the project - target_sources(_wincpp_core INTERFACE ${header_files}) - -@@ -89,3 +88,14 @@ target_sources(wincpp PRIVATE - - # Add the include directory to the project - target_include_directories(wincpp PRIVATE ${include_dir}) -+ -+include(GNUInstallDirs) -+# Install wincpp library -+install(TARGETS wincpp EXPORT wincpp -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} -+) -+ -+install(FILES ${header_files} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) diff --git a/ports/wincpp/add-installTarget.patch b/ports/wincpp/add-installTarget.patch deleted file mode 100644 index 38f05a5c3c4b57..00000000000000 --- a/ports/wincpp/add-installTarget.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 9df2a8a..e8e4d77 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -91,7 +91,7 @@ target_include_directories(wincpp PRIVATE ${include_dir}) - - include(GNUInstallDirs) - # Install wincpp library --install(TARGETS wincpp EXPORT wincpp -+install(TARGETS wincpp EXPORT wincpp-export - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -@@ -99,3 +99,14 @@ install(TARGETS wincpp EXPORT wincpp - ) - - install(FILES ${header_files} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) -+ -+include(CMakePackageConfigHelpers) -+write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" VERSION 1.5.3.6 COMPATIBILITY AnyNewerVersion) -+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/wincppConfig.cmake" "include(\${CMAKE_CURRENT_LIST_DIR}/wincppTargets.cmake)\n") -+install(FILES -+ "${CMAKE_CURRENT_BINARY_DIR}/wincppConfig.cmake" -+ "${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp -+) -+ -+install(EXPORT wincpp-export FILE wincppTargets.cmake NAMESPACE wincpp:: DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp) diff --git a/ports/wincpp/fix-32bit.patch b/ports/wincpp/fix-32bit.patch deleted file mode 100644 index 104373908afeea..00000000000000 --- a/ports/wincpp/fix-32bit.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/src/memory_factory.cpp b/src/memory_factory.cpp -index 50cd83d..360bfce 100644 ---- a/src/memory_factory.cpp -+++ b/src/memory_factory.cpp -@@ -24,7 +24,7 @@ namespace wincpp - } - case wincpp::memory_type::remote_t: - { -- std::size_t read; -+ SIZE_T read; - - if ( !ReadProcessMemory( p->handle->native, reinterpret_cast< void* >( address ), buffer, size, &read ) || read != size ) - return false; -@@ -201,4 +201,4 @@ namespace wincpp - - return nullptr; - } --} // namespace wincpp -\ No newline at end of file -+} // namespace wincpp diff --git a/ports/wincpp/fix-install-and-w32.patch b/ports/wincpp/fix-install-and-w32.patch new file mode 100644 index 00000000000000..aa57bc0f24cf9a --- /dev/null +++ b/ports/wincpp/fix-install-and-w32.patch @@ -0,0 +1,58 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 9d5adce..97ae430 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -36,7 +36,6 @@ set(header_files + + # Add the library to the project + add_library(_wincpp_core INTERFACE) +- + # Add the include directory to the project + target_sources(_wincpp_core INTERFACE ${header_files}) + +@@ -89,3 +88,25 @@ target_sources(wincpp PRIVATE + + # Add the include directory to the project + target_include_directories(wincpp PRIVATE ${include_dir}) ++ ++include(GNUInstallDirs) ++# Install wincpp library ++install(TARGETS wincpp _wincpp_core EXPORT wincpp-export ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ++ INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ++) ++ ++install(FILES ${header_files} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) ++ ++include(CMakePackageConfigHelpers) ++write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" VERSION 1.5.3.6 COMPATIBILITY AnyNewerVersion) ++file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/wincppConfig.cmake" "include(\${CMAKE_CURRENT_LIST_DIR}/wincppTargets.cmake)\n") ++install(FILES ++ "${CMAKE_CURRENT_BINARY_DIR}/wincppConfig.cmake" ++ "${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp ++) ++ ++install(EXPORT wincpp-export FILE wincppTargets.cmake NAMESPACE wincpp:: DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp) +diff --git a/src/memory_factory.cpp b/src/memory_factory.cpp +index 50cd83d..360bfce 100644 +--- a/src/memory_factory.cpp ++++ b/src/memory_factory.cpp +@@ -24,7 +24,7 @@ namespace wincpp + } + case wincpp::memory_type::remote_t: + { +- std::size_t read; ++ SIZE_T read; + + if ( !ReadProcessMemory( p->handle->native, reinterpret_cast< void* >( address ), buffer, size, &read ) || read != size ) + return false; +@@ -201,4 +201,4 @@ namespace wincpp + + return nullptr; + } +-} // namespace wincpp +\ No newline at end of file ++} // namespace wincpp diff --git a/ports/wincpp/portfile.cmake b/ports/wincpp/portfile.cmake index 23691cab6271e6..5f9d7234834497 100644 --- a/ports/wincpp/portfile.cmake +++ b/ports/wincpp/portfile.cmake @@ -5,9 +5,7 @@ vcpkg_from_github( SHA512 43674f7e899ce1d4088ad76f4f224c8202aa6af508211cbbae69366ca6467cf61520e0c65d852d0ad805045e9b3d69d414b6ba434d4c8b64becac120d28df294 HEAD_REF main PATCHES - add-install.patch - fix-32bit.patch - add-installTarget.patch + fix-install-and-w32.patch ) vcpkg_cmake_configure( diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index e1c5cfa31a1454..e48af6e946c00f 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "5b01c9f6effbef079528b09598aa1c8df5324473", + "git-tree": "d2caf7fcf2df9a124ba62010706360ae4baad9ac", "version": "1.5.3.6", "port-version": 0 } From dd263400b38c98fba55c152d6995bfde3b741dfc Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 11:10:57 -0400 Subject: [PATCH 08/16] ifix --- ports/wincpp/fix-install-and-w32.patch | 9 ++++++--- versions/w-/wincpp.json | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ports/wincpp/fix-install-and-w32.patch b/ports/wincpp/fix-install-and-w32.patch index aa57bc0f24cf9a..0dc7c4af12d74b 100644 --- a/ports/wincpp/fix-install-and-w32.patch +++ b/ports/wincpp/fix-install-and-w32.patch @@ -1,15 +1,18 @@ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 9d5adce..97ae430 100644 +index 9d5adce..aab5840 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt -@@ -36,7 +36,6 @@ set(header_files +@@ -36,9 +36,8 @@ set(header_files # Add the library to the project add_library(_wincpp_core INTERFACE) - # Add the include directory to the project - target_sources(_wincpp_core INTERFACE ${header_files}) +-target_sources(_wincpp_core INTERFACE ${header_files}) ++target_sources(_wincpp_core INTERFACE $) + # Add the include directories + target_include_directories(_wincpp_core SYSTEM INTERFACE @@ -89,3 +88,25 @@ target_sources(wincpp PRIVATE # Add the include directory to the project diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index e48af6e946c00f..11deff971d0f5c 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "d2caf7fcf2df9a124ba62010706360ae4baad9ac", + "git-tree": "814e8dd22f9b19bb4ff1f3a3679785d85ef1dddc", "version": "1.5.3.6", "port-version": 0 } From f048da44ae95a2edf5d8ca0a8b60a36eea8bbb88 Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 11:15:13 -0400 Subject: [PATCH 09/16] fxi --- ports/wincpp/fix-install-and-w32.patch | 4 ++-- versions/w-/wincpp.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/wincpp/fix-install-and-w32.patch b/ports/wincpp/fix-install-and-w32.patch index 0dc7c4af12d74b..5b0d1dee7b54d7 100644 --- a/ports/wincpp/fix-install-and-w32.patch +++ b/ports/wincpp/fix-install-and-w32.patch @@ -1,5 +1,5 @@ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 9d5adce..aab5840 100644 +index 9d5adce..0a9218d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -36,9 +36,8 @@ set(header_files @@ -35,7 +35,7 @@ index 9d5adce..aab5840 100644 +install(FILES + "${CMAKE_CURRENT_BINARY_DIR}/wincppConfig.cmake" + "${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp ++ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/wincpp +) + +install(EXPORT wincpp-export FILE wincppTargets.cmake NAMESPACE wincpp:: DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp) diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index 11deff971d0f5c..3a3804c8aa487f 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "814e8dd22f9b19bb4ff1f3a3679785d85ef1dddc", + "git-tree": "8d00c75f8ed1305d16d0bf1ad07fe902383fb67c", "version": "1.5.3.6", "port-version": 0 } From add0d18ba16c4ac49dff5c3631d026995f55ae18 Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 11:17:38 -0400 Subject: [PATCH 10/16] fix --- ports/wincpp/fix-install-and-w32.patch | 4 ++-- versions/w-/wincpp.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/wincpp/fix-install-and-w32.patch b/ports/wincpp/fix-install-and-w32.patch index 5b0d1dee7b54d7..17b01e24718664 100644 --- a/ports/wincpp/fix-install-and-w32.patch +++ b/ports/wincpp/fix-install-and-w32.patch @@ -1,5 +1,5 @@ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 9d5adce..0a9218d 100644 +index 9d5adce..d1bf50d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -36,9 +36,8 @@ set(header_files @@ -38,7 +38,7 @@ index 9d5adce..0a9218d 100644 + DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/wincpp +) + -+install(EXPORT wincpp-export FILE wincppTargets.cmake NAMESPACE wincpp:: DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wincpp) ++install(EXPORT wincpp-export FILE wincppTargets.cmake NAMESPACE wincpp:: DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/wincpp) diff --git a/src/memory_factory.cpp b/src/memory_factory.cpp index 50cd83d..360bfce 100644 --- a/src/memory_factory.cpp diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index 3a3804c8aa487f..be35e3ea3b740c 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "8d00c75f8ed1305d16d0bf1ad07fe902383fb67c", + "git-tree": "97eea89b98ff6f4e7db4739ed1b3906d203fc72c", "version": "1.5.3.6", "port-version": 0 } From fb7ae3878b1ad8ae594e25b1656069d8c5b7e631 Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 11:19:44 -0400 Subject: [PATCH 11/16] fix --- ports/wincpp/portfile.cmake | 2 +- versions/w-/wincpp.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/wincpp/portfile.cmake b/ports/wincpp/portfile.cmake index 5f9d7234834497..f730c74944b2a3 100644 --- a/ports/wincpp/portfile.cmake +++ b/ports/wincpp/portfile.cmake @@ -17,6 +17,6 @@ vcpkg_cmake_configure( vcpkg_cmake_install() -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share") vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index be35e3ea3b740c..958651c1ffffb4 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "97eea89b98ff6f4e7db4739ed1b3906d203fc72c", + "git-tree": "86f426092a7d7b4bb38ae5729e6b724b907dee4b", "version": "1.5.3.6", "port-version": 0 } From 98891bf1123604851e0110908518405f8a95c8f6 Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 11:28:05 -0400 Subject: [PATCH 12/16] fix --- ports/wincpp/fix-install-and-w32.patch | 24 ++++++++++++++++++------ versions/w-/wincpp.json | 2 +- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/ports/wincpp/fix-install-and-w32.patch b/ports/wincpp/fix-install-and-w32.patch index 17b01e24718664..4ef0ca6b7be3ea 100644 --- a/ports/wincpp/fix-install-and-w32.patch +++ b/ports/wincpp/fix-install-and-w32.patch @@ -1,8 +1,15 @@ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 9d5adce..d1bf50d 100644 +index 9d5adce..dd627a6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt -@@ -36,9 +36,8 @@ set(header_files +@@ -1,5 +1,5 @@ + cmake_path(SET include_dir "${CMAKE_CURRENT_SOURCE_DIR}/../include") +- ++include(GNUInstallDirs) + # Add the header files to the project + set(header_files + "${include_dir}/wincpp/process.hpp" +@@ -36,14 +36,13 @@ set(header_files # Add the library to the project add_library(_wincpp_core INTERFACE) @@ -13,21 +20,26 @@ index 9d5adce..d1bf50d 100644 # Add the include directories target_include_directories(_wincpp_core SYSTEM INTERFACE -@@ -89,3 +88,25 @@ target_sources(wincpp PRIVATE + $ +- $ ++ $ + ) + + # Add the library to the project +@@ -89,3 +88,24 @@ target_sources(wincpp PRIVATE # Add the include directory to the project target_include_directories(wincpp PRIVATE ${include_dir}) + -+include(GNUInstallDirs) +# Install wincpp library +install(TARGETS wincpp _wincpp_core EXPORT wincpp-export + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ++ INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wincpp" +) + -+install(FILES ${header_files} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) ++install(FILES ${header_files} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wincpp") + +include(CMakePackageConfigHelpers) +write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" VERSION 1.5.3.6 COMPATIBILITY AnyNewerVersion) diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index 958651c1ffffb4..beba38a5c4dcc9 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "86f426092a7d7b4bb38ae5729e6b724b907dee4b", + "git-tree": "526b3c50d7fde69c94837b2b88000350a47bf901", "version": "1.5.3.6", "port-version": 0 } From a1c9453670e89350409645ae84d15aa7b186b4a5 Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 11:36:06 -0400 Subject: [PATCH 13/16] fix install --- ports/wincpp/fix-install-and-w32.patch | 4 ++-- versions/w-/wincpp.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/wincpp/fix-install-and-w32.patch b/ports/wincpp/fix-install-and-w32.patch index 4ef0ca6b7be3ea..0bfb40d4ed3803 100644 --- a/ports/wincpp/fix-install-and-w32.patch +++ b/ports/wincpp/fix-install-and-w32.patch @@ -1,5 +1,5 @@ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 9d5adce..dd627a6 100644 +index 9d5adce..73a6d95 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,5 @@ @@ -39,7 +39,7 @@ index 9d5adce..dd627a6 100644 + INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wincpp" +) + -+install(FILES ${header_files} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wincpp") ++install(DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/../include" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wincpp") + +include(CMakePackageConfigHelpers) +write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" VERSION 1.5.3.6 COMPATIBILITY AnyNewerVersion) diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index beba38a5c4dcc9..ae2858d3bd96b1 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "526b3c50d7fde69c94837b2b88000350a47bf901", + "git-tree": "0cbfded5ba80c1f113e4a6011ae99fa4462aaea4", "version": "1.5.3.6", "port-version": 0 } From 6ed04eb7c65484357210f90d3081f9a9eda6930e Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 11:42:27 -0400 Subject: [PATCH 14/16] fix --- ports/wincpp/fix-install-and-w32.patch | 4 ++-- versions/w-/wincpp.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/wincpp/fix-install-and-w32.patch b/ports/wincpp/fix-install-and-w32.patch index 0bfb40d4ed3803..4b9d3faa3288bf 100644 --- a/ports/wincpp/fix-install-and-w32.patch +++ b/ports/wincpp/fix-install-and-w32.patch @@ -1,5 +1,5 @@ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 9d5adce..73a6d95 100644 +index 9d5adce..b85cea0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,5 @@ @@ -39,7 +39,7 @@ index 9d5adce..73a6d95 100644 + INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wincpp" +) + -+install(DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/../include" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wincpp") ++install(DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/../include/wincpp" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") + +include(CMakePackageConfigHelpers) +write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" VERSION 1.5.3.6 COMPATIBILITY AnyNewerVersion) diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index ae2858d3bd96b1..37182130399436 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "0cbfded5ba80c1f113e4a6011ae99fa4462aaea4", + "git-tree": "14f952b548500f86725e15647f7fe3d34c01b085", "version": "1.5.3.6", "port-version": 0 } From 963dae751ad098828c047b3db45016875751cfc3 Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 12:02:51 -0400 Subject: [PATCH 15/16] fix --- ports/wincpp/fix-install-and-w32.patch | 44 ++++++++++++++++++++------ versions/w-/wincpp.json | 2 +- 2 files changed, 35 insertions(+), 11 deletions(-) diff --git a/ports/wincpp/fix-install-and-w32.patch b/ports/wincpp/fix-install-and-w32.patch index 4b9d3faa3288bf..c609f250728ccd 100644 --- a/ports/wincpp/fix-install-and-w32.patch +++ b/ports/wincpp/fix-install-and-w32.patch @@ -1,5 +1,5 @@ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 9d5adce..b85cea0 100644 +index 9d5adce..eff939d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,5 @@ @@ -9,7 +9,7 @@ index 9d5adce..b85cea0 100644 # Add the header files to the project set(header_files "${include_dir}/wincpp/process.hpp" -@@ -36,14 +36,13 @@ set(header_files +@@ -36,21 +36,21 @@ set(header_files # Add the library to the project add_library(_wincpp_core INTERFACE) @@ -26,7 +26,17 @@ index 9d5adce..b85cea0 100644 ) # Add the library to the project -@@ -89,3 +88,24 @@ target_sources(wincpp PRIVATE +-add_library(wincpp STATIC) ++add_library(wincpp) ++set_target_properties(wincpp PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON) + + # Link the library to the core +-target_link_libraries(wincpp INTERFACE _wincpp_core) ++target_link_libraries(wincpp PUBLIC _wincpp_core) + + # Add the source files to the project + target_sources(wincpp PRIVATE +@@ -89,3 +89,38 @@ target_sources(wincpp PRIVATE # Add the include directory to the project target_include_directories(wincpp PRIVATE ${include_dir}) @@ -36,21 +46,35 @@ index 9d5adce..b85cea0 100644 + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wincpp" ++ INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} +) + +install(DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/../include/wincpp" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") + +include(CMakePackageConfigHelpers) -+write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" VERSION 1.5.3.6 COMPATIBILITY AnyNewerVersion) -+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/wincppConfig.cmake" "include(\${CMAKE_CURRENT_LIST_DIR}/wincppTargets.cmake)\n") ++write_basic_package_version_file( ++ "${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" ++ VERSION 1.5.3.6 ++ COMPATIBILITY AnyNewerVersion ++) ++ ++file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/wincppConfig.cmake" ++ "include(\${CMAKE_CURRENT_LIST_DIR}/wincppTargets.cmake)\n" ++) ++ ++set(wincpp_CONFFILE_DEST "${CMAKE_INSTALL_DATAROOTDIR}/wincpp") ++ +install(FILES -+ "${CMAKE_CURRENT_BINARY_DIR}/wincppConfig.cmake" -+ "${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" -+ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/wincpp ++ "${CMAKE_CURRENT_BINARY_DIR}/wincppConfig.cmake" ++ "${CMAKE_CURRENT_BINARY_DIR}/wincppConfigVersion.cmake" ++ DESTINATION ${wincpp_CONFFILE_DEST} +) + -+install(EXPORT wincpp-export FILE wincppTargets.cmake NAMESPACE wincpp:: DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/wincpp) ++install(EXPORT wincpp-export ++ FILE wincppTargets.cmake ++ NAMESPACE wincpp:: ++ DESTINATION ${wincpp_CONFFILE_DEST} ++) diff --git a/src/memory_factory.cpp b/src/memory_factory.cpp index 50cd83d..360bfce 100644 --- a/src/memory_factory.cpp diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index 37182130399436..e4c818da7d71de 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "14f952b548500f86725e15647f7fe3d34c01b085", + "git-tree": "0110e0506ca470f4e02d2893d73e18071ae54ee8", "version": "1.5.3.6", "port-version": 0 } From 3556d922c9566da6d19eaa784668cce008a014ea Mon Sep 17 00:00:00 2001 From: Adrien Bourdeaux Date: Thu, 9 Apr 2026 12:19:26 -0400 Subject: [PATCH 16/16] fix w32 issue --- ports/wincpp/fix-install-and-w32.patch | 11 ++++++++++- versions/w-/wincpp.json | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ports/wincpp/fix-install-and-w32.patch b/ports/wincpp/fix-install-and-w32.patch index c609f250728ccd..9b676a08ba577c 100644 --- a/ports/wincpp/fix-install-and-w32.patch +++ b/ports/wincpp/fix-install-and-w32.patch @@ -76,7 +76,7 @@ index 9d5adce..eff939d 100644 + DESTINATION ${wincpp_CONFFILE_DEST} +) diff --git a/src/memory_factory.cpp b/src/memory_factory.cpp -index 50cd83d..360bfce 100644 +index 50cd83d..82c1474 100644 --- a/src/memory_factory.cpp +++ b/src/memory_factory.cpp @@ -24,7 +24,7 @@ namespace wincpp @@ -88,6 +88,15 @@ index 50cd83d..360bfce 100644 if ( !ReadProcessMemory( p->handle->native, reinterpret_cast< void* >( address ), buffer, size, &read ) || read != size ) return false; +@@ -61,7 +61,7 @@ namespace wincpp + } + case wincpp::memory_type::remote_t: + { +- std::size_t written; ++ SIZE_T written; + + WriteProcessMemory( p->handle->native, reinterpret_cast< void* >( address ), buffer, size, &written ); + return written; @@ -201,4 +201,4 @@ namespace wincpp return nullptr; diff --git a/versions/w-/wincpp.json b/versions/w-/wincpp.json index e4c818da7d71de..19ca61150d5e82 100644 --- a/versions/w-/wincpp.json +++ b/versions/w-/wincpp.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "0110e0506ca470f4e02d2893d73e18071ae54ee8", + "git-tree": "b68b4c8b039836d63d3092c3c1545b90ae3400a4", "version": "1.5.3.6", "port-version": 0 }