Windows desktop application for monitoring system memory status, built with C++/CLI and Windows Forms.
This project is a coursework application that displays information about system memory using the Windows API GlobalMemoryStatus function. The application provides a GUI with multiple tabs for memory monitoring and configuration.
- Language: C++/CLI (Managed C++)
- Framework: .NET Framework 4.7.2
- UI: Windows Forms
- IDE: Visual Studio 2022 (v143 toolset)
- Platform: Windows (Win32/x64)
- Memory Monitoring Tab: View real-time system memory information including:
- Total physical memory
- Available physical memory
- Total virtual memory
- Available virtual memory
- Memory load percentage
- Memory Allocation: Convert selected memory units
- Tabbed Interface: Organized layout with multiple sections
- Windows OS
- Visual Studio 2022 with C++/CLI support
- .NET Framework 4.7.2
- Open
Kursach.slnin Visual Studio - Select configuration (Debug/Release) and platform (Win32/x64)
- Build the solution (
Ctrl+Shift+B)
Run the application from Visual Studio or execute the built binary from the output directory.
kursach-r/
├── Kursach.sln # Visual Studio solution file
└── Kursach/ # Main project directory
├── Kursach.vcxproj # Visual C++ project file
├── Kursach.vcxproj.filters
├── MyForm.h # Main form definition (UI + event handlers)
├── MyForm.cpp # Entry point
├── MyForm.resx # Form resources
├── MyForm.lkt-US.resx # Localization resources
└── resource.h # Resource definitions
- Main Tab: Select memory type from dropdown, enter value, choose unit (B, KB, MB, GB), and convert
- Information Tab: Click "Get information according to selected memory type" to view system memory statistics in a list view
The application uses the following Windows API functions:
GlobalMemoryStatus()- Retrieves information about the system's current memory usage