Tagged articles
6 articles
Page 1 of 1
Tencent Docs Tech Team
Tencent Docs Tech Team
May 29, 2025 · Operations

Memory Optimization Strategies for the Tencent Docs Desktop Client

This technical report details the background, proposed solutions, implementation steps, and measurable results of a series of memory‑saving optimizations applied to the Tencent Docs desktop application built with Electron, including container merging, tombstone mechanisms, Windows EmptyWorkingSet API, and Chromium page‑freezing techniques.

Desktop ApplicationElectronperformance
0 likes · 9 min read
Memory Optimization Strategies for the Tencent Docs Desktop Client
Python Crawling & Data Mining
Python Crawling & Data Mining
Feb 5, 2025 · Backend Development

Master Python ctypes: Call Windows DLLs and APIs Like a Pro

This comprehensive guide explains how Python can interface with C dynamic link libraries using the ctypes module, covering installation, data types, pointer manipulation, buffer creation, DLL loading, function calling, Windows API interactions, and practical code examples for system-level programming.

C integrationSystem Programmingctypes
0 likes · 15 min read
Master Python ctypes: Call Windows DLLs and APIs Like a Pro
Python Programming Learning Circle
Python Programming Learning Circle
Aug 1, 2022 · Information Security

Implementing Windows Hooks in Python Using ctypes

This tutorial explains how to create a Windows key‑logging spy program by registering low‑level hooks through the user32 and kernel32 DLLs, using Python's ctypes library to call the required WinAPI functions, define callback prototypes, and manage hook installation and removal.

HookKeyloggerPython
0 likes · 8 min read
Implementing Windows Hooks in Python Using ctypes
Python Crawling & Data Mining
Python Crawling & Data Mining
May 2, 2022 · Backend Development

Master Python ctypes: Call Windows DLLs and APIs with Ease

This comprehensive guide explains how Python can interface with C dynamic libraries using ctypes, covering installation, data types, pointer manipulation, buffer creation, DLL loading methods, Windows API calls, and advanced techniques such as structures, unions, arrays, and process control.

BackendC integrationPython
0 likes · 16 min read
Master Python ctypes: Call Windows DLLs and APIs with Ease