I am using the 2DSymbols.bmp sample image that comes with the software. But it does not seem to matter which image I use and does not occur every time I attempt to decode the image.
I have these symbologies enabled:
QR and microQR (normal and inverse)
MaxiCode
Aztec
PDF417
DataMatrix (normal and inverse)
I only use the RESULT callback and do not set the PROGRESS callback.
Here is how I call SD_Decode:
SD_Set( handle, SD_PROP_IMAGE_HEIGHT, (void*)height );
SD_Set( handle, SD_PROP_IMAGE_WIDTH, (void*)width );
SD_Set( handle, SD_PROP_IMAGE_LINE_DELTA, (void*)width );
SD_Set( handle, SD_PROP_IMAGE_POINTER, (void*)imagePtr );
SD_Decode( handle );