From c8fa11373bfcba1b777426febd70e1caf4955463 Mon Sep 17 00:00:00 2001 From: Shane Fournier <93808768+win32ss@users.noreply.github.com> Date: Mon, 14 Oct 2024 13:26:32 -0400 Subject: Windows XP compatibility for Telegram module (#4729) * These changes should allow telegram.dll to build as an XP-compatible component, using LSC wrapper DLLs to resolve dependencies in kernel32.dll and ws2_32.dll. mir_app also uses the LSC wrapper in place of kernel32 to load telegram.dll with support for implicit thread local storage. * Corrected mir_app link target * Now returning to this code, correcting the Telegram build to incorporate the libs properly. * Removed requirement for pwrp_k32 in mir_app. The TLS loading process will now be performed through GetSystemTimeAsFileTime in the Telegram DLL as calls to that function are made before this first TLS access attempt. --------- Co-authored-by: win32ss --- tools/build_scripts/redist/x64/lsc/p_s232.dll | Bin 0 -> 43520 bytes tools/build_scripts/redist/x64/lsc/pwrp_k32.dll | Bin 0 -> 355328 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 tools/build_scripts/redist/x64/lsc/p_s232.dll create mode 100644 tools/build_scripts/redist/x64/lsc/pwrp_k32.dll (limited to 'tools/build_scripts/redist/x64') diff --git a/tools/build_scripts/redist/x64/lsc/p_s232.dll b/tools/build_scripts/redist/x64/lsc/p_s232.dll new file mode 100644 index 0000000000..6063ac80a6 Binary files /dev/null and b/tools/build_scripts/redist/x64/lsc/p_s232.dll differ diff --git a/tools/build_scripts/redist/x64/lsc/pwrp_k32.dll b/tools/build_scripts/redist/x64/lsc/pwrp_k32.dll new file mode 100644 index 0000000000..bccb8e4471 Binary files /dev/null and b/tools/build_scripts/redist/x64/lsc/pwrp_k32.dll differ -- cgit v1.2.3