
![]() ![]() ![]() | Tip: Bookmark this page with Ctrl-D (Win) or Apple-D (Mac) | Main • Products • Know How / FAQ • Download • Store • Contact |
Manual - Windows Win32 DLL Code 128 / 128 GS1
IntroductionThe Win32 DLL for code Code 128 / 128 GS1 creates the barcode symbologies Code 128 and Code 128 GS1 (formerly UCC / EAN 128).
Features
- Can be used from MFC, ATL/WTL or a plain Win32 tool
- Automatic checksum calculation
- Automatic Code 128 GS1 formatting incl. field delimiter for variable fields
- Highly customizable with user definable properties for module width, height, human readable text etc.
- Easy to use - create and display a barcode with only three lines of code
- Sample MFC project
- Control-internal bitpattern routines are accessible from the client for owner drawn barcodes.
- Small footprint, only 40 kB, only a single file
Windows XP or higher. The provided sample requires Visual Studio 2005 or newer; however, the library as such will also work with older versions. The library uses GDI+ for drawing.
Demo / Purchasing
A demo is available; it puts the text DEMO in the barcode, see the download area. Please see the online store for licensing options and pricing.
Installation and Setup
1. In the archive locate the file DLL_Code128.dll. Copy this file into /windows/system32 (if you only want to try the supplied sample you can skip this step; the DLL has also been copied in the Release output directory of the sample along with a binary of the sample.)
2. In the archive locate the file WSDLx.h. Copy this file into one of your include folders. You can also copy the file into the home directory of the project that uses the library.
3. In the archive locate the file DLL_Code128.lib. Copy this file into one of your library folders. You can also copy the file into the home directory of the project that uses the library (see the supplied sample).
For a quick start see the sample project: We provide a dialog-based MFC application.
Where to go from here
We've provided a ready-to-compile sample project (MFC dialog-based); the end result looks like this:

The use of the library is straight forward, the relevant parts of the sample source code have comments; make sure to also see the reference section of the manual.