CLocalModbus
class CLocalModbus : public CModbus
CLocalModbus encapsulate win32 communication API to send and receive modbus messages over serial ports. Using this class you can not share the same serial port with another instance of your app or another application that make use of Modbus COM Server. If you need this feature use CAutoModbus. Although it's not possible to share CLocalModbus among processes , this class is thread-safe then the same instance of CLocalMobus can be called from different threads of the same process.
#include "localmodbus.h"