We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcf7e2d commit dbc0889Copy full SHA for dbc0889
1 file changed
examples/command-line/main.cpp
@@ -54,7 +54,8 @@ class MyCapturedResultReceiver : public CCapturedResultReceiver
54
cout << "Result " << i + 1 << endl;
55
cout << "Barcode Format: " << barcodeResultItem->GetFormatString() << endl;
56
cout << "Barcode Text: " << barcodeResultItem->GetText() << endl;
57
- CPoint *points = barcodeResultItem->GetLocation().points;
+ CQuadrilateral location = barcodeResultItem->GetLocation();
58
+ CPoint *points = location.points;
59
for (int j = 0; j < 4; j++)
60
{
61
cout << "Point " << j + 1 << ": (" << points[j][0] << ", " << points[j][1] << ")" << endl;
@@ -228,8 +229,6 @@ int main(int argc, char *argv[])
228
229
230
result->Release();
231
}
-
232
- captureResultArray->Release();
233
234
235
0 commit comments