Skip to content

stepan41k/kursach-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MemoryControl

Windows desktop application for monitoring system memory status, built with C++/CLI and Windows Forms.

Overview

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.

Tech Stack

  • Language: C++/CLI (Managed C++)
  • Framework: .NET Framework 4.7.2
  • UI: Windows Forms
  • IDE: Visual Studio 2022 (v143 toolset)
  • Platform: Windows (Win32/x64)

Features

  • 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

Requirements

  • Windows OS
  • Visual Studio 2022 with C++/CLI support
  • .NET Framework 4.7.2

Building

  1. Open Kursach.sln in Visual Studio
  2. Select configuration (Debug/Release) and platform (Win32/x64)
  3. Build the solution (Ctrl+Shift+B)

Running

Run the application from Visual Studio or execute the built binary from the output directory.

Project Structure

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

Usage

  1. Main Tab: Select memory type from dropdown, enter value, choose unit (B, KB, MB, GB), and convert
  2. Information Tab: Click "Get information according to selected memory type" to view system memory statistics in a list view

API Reference

The application uses the following Windows API functions:

  • GlobalMemoryStatus() - Retrieves information about the system's current memory usage

About

Simple implementation of a memory application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors