
![]() ![]() ![]() | Tip: Bookmark this page with Ctrl-D (Win) or Apple-D (Mac) | Main • Products • Know How / FAQ • Download • Store • Contact |
Manual - Windows Win32 DLL Datamatrix
IntroductionThe Win32 DLL for code Datamatrix creates the 2D barcode symbology Datamatrix ECC 200.
Features
- Can be used from MFC, ATL/WTL or a plain Win32 tool
- Supports all square module layouts up to 144 * 144.
- Encodes up to 3,000 bytes.
- Automatic selection of compaction modes C40, ASCII, Base 256 and Text for smallest outline.
- 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 encoded data, 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_datamatrix.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_datamatrix.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.