Jan 17 · 5 min read · Trong lập trình đa luồng, các luồng thuộc cùng môt tiến trình chia sẻ vùng nhớ Heap, biến toàn cục, Files. Do đó, sẽ xảy ra vấn đề tranh chấp nguồn tài nguyên giữa các luồng. 1. Race condition Race condition xảy ra khi kết quả của một chương trình ph...
Join discussionFeb 13, 2024 · 5 min read · In the realm of network programming on Windows, the Win32 HTTP Server API offers a robust, low-level foundation for handling HTTP requests directly within a C application. This API, part of the Windows HTTP Services (WinHTTP), provides developers wit...
Join discussionFeb 12, 2024 · 5 min read · Introduction For the purpose of this article we will focus on Direct3D version 11 as Direct3D 12 represents a significant departure from the Direct3D 11 programming model. Direct3D 11, a component of Microsoft's DirectX API, serves as a robust framew...
Join discussionFeb 9, 2024 · 3 min read · The Microsoft Open Database Connectivity (ODBC) interface is a C programming language interface that makes it possible for applications to access data from a variety of database management systems (DBMSs). ODBC is a low-level, high-performance interf...
Join discussionFeb 8, 2024 · 5 min read · When we looked at common controls library we added an Edit control. Let's say we want to save the text that we write to a file on disk, for this we need to use the File System API. First, we need a method to open the File Save dialog: void OpenFileS...
Join discussionFeb 7, 2024 · 6 min read · Introduction Using Win32 API common controls in a C programming environment involves leveraging the rich set of user interface components provided by the Windows operating system. Common controls are pre-defined, reusable control classes such as butt...
Join discussionFeb 7, 2024 · 2 min read · Resources in Win32 are predefined, application-defined data that the system stores in executable files. These can include various types of data such as icons, bitmaps, strings, menus or dialog box templates. This article will guide you through the pr...
Join discussionFeb 6, 2024 · 4 min read · A menu is a list of items that specify options or groups of options (a submenu) for an application. Clicking a menu item opens a submenu or causes the application to carry out a command. A menu is arranged in a hierarchy. At the top level of the hier...
Join discussionFeb 2, 2024 · 2 min read · A window procedure is essentially a function called for every message, lacking inherent state. To manage your application's state across calls, one basic method is using global variables. However, for larger applications, this can lead to too many gl...
Join discussion