Ciprian Fusaciprianf.hashnode.dev·Feb 13, 2024Win32 API programming with C - HTTP Server APIIn 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...380 readsWin32 APIwin32 api
Ciprian Fusaciprianf.hashnode.dev·Feb 12, 2024Win32 API programming with C - Getting started with Direct3DIntroduction 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...236 readsWin32 APIdirect3d
Ciprian Fusaciprianf.hashnode.dev·Feb 9, 2024Win32 API programming with C - Working with the databaseThe 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...152 readsWin32 APIwin32 api
Ciprian Fusaciprianf.hashnode.dev·Feb 8, 2024Win32 API programming with C - Using the file systemWhen 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...208 readsWin32 APIwin32 api
Ciprian Fusaciprianf.hashnode.dev·Feb 7, 2024Win32 API programming with C - Using common controlsIntroduction 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...899 readsWin32 APIWindows API
Ciprian Fusaciprianf.hashnode.dev·Feb 7, 2024Win32 API programming with C - Using resourcesResources 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...290 readsWin32 APIWindows API
Ciprian Fusaciprianf.hashnode.dev·Feb 6, 2024Win32 API programming with C - Using menusA 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...586 readsWin32 APIWindows API
Ciprian Fusaciprianf.hashnode.dev·Feb 2, 2024Win32 API programming with C - Managing Application StateA 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...232 readsWin32 APIWindows API
Ciprian Fusaciprianf.hashnode.dev·Feb 2, 2024Win32 API programming with C - Closing the windowWhen the user closes a window, that action triggers a sequence of window messages. The user can close an application window by clicking the Close button, or by using a keyboard shortcut such as ALT+F4. Any of these actions causes the window to receiv...1 like·176 readsWin32 APIWindows API
Ciprian Fusaciprianf.hashnode.dev·Feb 1, 2024Win32 API programming with C - Window messages and creating the Window ProcedureWindow Messages A GUI application must respond to events from the user and from the operating system. Events from the user include all the ways that someone can interact with your program: mouse clicks, key strokes... Events from the operating syst...2 likes·1.0K readsWin32 APIWindows API