

This Windows Standard Serial Communications Programmer’s Manual provides information needed to compile programs in a C/C++/C# programming environment. The WSC component library uses the Windows API for all communication and can be used to easily write applications to control serial devices such as barcode scanners, modems, lab instruments, medical devices, USB serial devices, scales, GPS navigation, etc. WSC also supports virtual serial ports such as Bluetooth serial and USB to serial converters. The Windows Standard Serial Communications Library (WSC) is a component DLL library used to create serial communications programs that access data from a serial port using RS232 or multi-drop RS422 or RS485 ports.

Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Pageģ 4 6 6 7 7 7 7 8 8 8 8 9 9 10 10 10 10 10 11 11 13 13 15 15 16 16 17 17 18 18 18 19 19 20 22 34 35ġ Introduction The Windows Standard Serial Communications Library for C/C++ (WSC4C) is a toolkit that allows software developers to quickly develop serial communication applications in C/C++, Visual C++. TABLE OF CONTENTS 1 Introduction 1.1 Features 1.2 Documentation Set 1.3 Example Program 1.4 Installation 1.5 Uninstalling 1.6 Pricing 1.7 Updates 2 Library Overview 2.1 Using the Library 2.2 Keycode (License Key) 2.3 Console Mode 2.4 Limitations on COM Ports 2.5 Static Linking 2.6 Using Threads 2.7 Calling WSC Functions from C++ 2.8 Adding WSC Functions to an Existing Program 2.9 SioEvent Logic 2.10 Virtual Serial Ports 2.11 Explicitly Loading the WSC DLL 2.12 Targeting a 64-Bit CPU 3 Supported Compilers 3.1 Microsoft Visual C++ 3.2 Microsoft Visual C# (C-Sharp) 3.3 Microsoft C/C++ (16-bit) 3.4 Borland C++ 3.5 Turbo C/C++ for Windows 3.6 Borland C++ Builder 3.7 Watcom C/C++ 3.8 LCC C 3.9 MinGW C 3.10 Digital Mars 4 Compiling Programs 4.1 Compiling WSC Source Code 4.2 Compiling Example Programs 5 Example Programs 6 Additional Examples 7 Revision History Post Office Box 4543 Huntsville AL 35815Įmail: Web: MARSHALLSOFT is a registered trademark of MarshallSoft Computing.


There are no warranties, expressed or implied. Windows Standard Serial Communications for C/C++ Programmer's Manual (WSC_4C)
