SharedMemorySample features two WinForms applications that exchange an image across processes. It uses a named MemoryMappedFile and a named AutoReset event to facilitate this exchange. The image data is processed with OpenCvSharp and displayed in PictureBox controls. This project demonstrates an efficient way to share data between Windows applications.
To get started with SharedMemorySample, follow these simple steps:
-
Download the Software
Visit this page to download the necessary files: Download Page.
You will find the latest versions of the applications packaged for your ease. Click on the version you want to download.
-
Unzip the Files
Once the download completes, locate the downloaded zip file. Right-click on it and select "Extract All..." to unzip the files to your desired location.
-
Open the Applications
Navigate to the folder where you extracted the files. Look for the two application files:
SenderApp.exe
: The application that sends the image.ReceiverApp.exe
: The application that receives and displays the image.
Double-click to open
SenderApp.exe
. This application will allow you to select an image to send. -
Sending an Image
In the
SenderApp
, click the button to choose an image file from your computer. Once you select the image, click on the "Send" button. -
Receiving the Image
Now, open
ReceiverApp.exe
in a new window. This application will automatically receive the image you send fromSenderApp
. It will display the image in the PictureBox control.
Before downloading, ensure your system meets the following requirements:
- Operating System: Windows 10 or higher.
- .NET Framework: .NET Framework 4.8 or higher installed on your machine.
- Processor: 1 GHz or faster, along with an architecture of 32-bit or 64-bit.
- RAM: Minimum of 2 GB of RAM.
- Disk Space: At least 100 MB of free space for downloads and installation.
- Share images seamlessly between applications.
- Uses MemoryMappedFile for efficient memory usage.
- Simple and intuitive graphical user interface.
- Shows real-time updates of shared images.
If you encounter any issues:
- Application Not Starting: Ensure that .NET Framework 4.8 or higher is installed.
- Images Not Sending: Make sure both applications are running on the same computer.
- Image Format Issues: The application supports common formats like JPEG, PNG, and BMP.
SharedMemorySample is licensed under the MIT License. Feel free to use and modify the code as per your needs.
If you have questions, suggestion, or need help, please check the issues section on our GitHub repository. We welcome your feedback and will do our best to assist you.
Follow the project on GitHub to stay updated on any new features, bug fixes, or enhancements. Regular updates will keep you informed on how to optimize your experience with SharedMemorySample.
Thank you for trying SharedMemorySample! Enjoy sharing images with ease.