These days the so called QR codes are very diffused, just click on your smartphone take the picture and get the info.
There is a nice free library 'libqrencode' by Kentaro Fukuchi that works well enough.
Using that library a I wrote a small program that generates the QR code and eventually save it in a bitmap.
By adding graphic libraries you can create codes in different formats (jpg, png, etc).
Nice code and reference. I need to both print and read QR code for a project of mine (not C though), and this is a nice push in that direction, thanks... ;)
Ralf
Thank's Frankie :)
If someone needs dll, QREncode.defLIBRARY QREncode.dll
EXPORTS
QRinput_new
QRinput_new2
QRinput_newMQR
QRinput_append
QRinput_appendECIheader
QRinput_getVersion
QRinput_setVersion
QRinput_getErrorCorrectionLevel
QRinput_setErrorCorrectionLevel
QRinput_setVersionAndErrorCorrectionLevel
QRinput_free
QRinput_check
QRinput_Struct_new
QRinput_Struct_setParity
QRinput_Struct_appendInput
QRinput_Struct_free
QRinput_splitQRinputToStruct
QRinput_Struct_insertStructuredAppendHeaders
QRinput_setFNC1First
QRinput_setFNC1Second
QRcode_encodeInput
QRcode_encodeString
QRcode_encodeString8bit
QRcode_encodeStringMQR
QRcode_encodeString8bitMQR
QRcode_encodeData
QRcode_encodeDataMQR
QRcode_free
QRcode_encodeInputStructured
QRcode_encodeStringStructured
QRcode_encodeString8bitStructured
QRcode_encodeDataStructured
QRcode_List_size
QRcode_List_free
QRcode_APIVersion
QRcode_APIVersionString
QRcode_clearCache
New Revision
Version 1.1
- Added calling convention in header files
- Removed a bug from bitmap save routine