Windows Desktop Programming (Windows 10)
I have a C++ desktop program that connects to a thermal imaging camera and displays an image.
I also have a VB.NET desktop program that embeds/grabs the above programs handle and displays inside a panel - and each program currently communicates by reading/saving/filewatching files between each other’s program.
Although everything works it's not very efficient.
I would like to have the C++ and VB.NET programs communicate using Interprocess Communication instead and to change the C++ program so that it just sends an array of temperature values (numbers) to the main VB.NET program.
The communication between each program would be.
1. VB.NET program (main application) starts the C++ program (camera connect)
2. The c++ Camera connect program will, on each iteration, send an array of 19200 temperature values (up to 60 fps) to the Main application using IPC.
3. Main VB.NET Application will then read and process these incoming arrays.
To summarise - I would like separate working examples of a c++ "IPC Source" program that can send an array of numbers on a loop to a compatible VB.NET "IPC Recipient" program which can also read these arrays of numbers.
In rare situations there will be a need for two IPC Connections (from two camera sources.)
You can use shared memory or named pipes, - I don't mind which one, provided it works and is reasonably commented.
(I’m using VS2017 Enterprise.)
Both programs run on the same Windows PC, no networking is needed.
If you have any questions or need further details then please let me know.