Windows Standard Serial Communications Library for C/C++

The Marshallsoft serial communications component library for C/C++ (WSC4C) is a serial communication library based on the Windows serial comm API. WSC4C uses the standard Windows API to communicate with any device connected to a serial port from within a C/C++, Visual C++, C# or .NET application.

A simple interface allows accessing data from a serial port using RS232 or multi-drop RS422 / RS485 serial ports. WSC also supports virtual ports such as those created by Bluetooth and USB/serial converters. WSC provides the capability to quickly write C/C++ applications to control serial devices such as barcode scanners, modems, lab instruments, medical devices, USB serial devices, scales, GPS navigation, etc.

The component library includes 52 functions plus serial line status & control, modem control, XMODEM and YMODEM, ASCII and ANSI terminal emulation. A good selection of C/C++ example programs is provided, including console mode and multi-threaded examples as well as Microsoft Foundation Class (MFC) and Borland/Embarcadero C++ Builder (BCB) examples.

WSC4C can be used in the development of Win64 and Win32 applications running under Windows XP through Windows 10. The evaluation version of WSC4C is fully functional.

C/C++ Serial Communications Example Program

Features of WSC4C include:

The current version of the Windows Std Serial Comm Lib for C/C++ is 7.0 (Sep 2, 2019). Registration is $119 for email delivery ($199 with C language source code).


Order Page


Download WSC4C
WSC4C Programmer's Manual
WSC User's Manual
WSC Reference Manual