To print Data Matrix barcode in VC++ application, you need Barcodesoft BCSDataMatrix true type font and cruflbcs.dll.
If you download and install the demo of Barcodesoft Data Matrix software on your computer, you will find crUFLBCS.dll from
"C:\Program Files\Common Files\Barcodesoft\Fontutil\" folder.
If you don't find cruflbcs.dll on your computer, please download it from Data Matrix Barcode VC++.
crUFLBCS.dll is a COM object with IDataMatrix interface.
You can find detailed information about IDataMatrix interface from readme.html.
To call the methods of IDataMatrix interface from VC++, you can use either Late Binding or Early Binding.
Late binding is used when type information of an object is unavailable at compile time.
Early binding requires the client to get access to the type library before compile.