bardecode.com
barcode reading software
  • Home
  • Download
  • Purchase
  • SDK Licensing
  • Pricing
    • Windows SDK Price List
    • Windows SDK with PDF Extension Price List
    • Linux SDK Price List
    • Linux SDK with PDF Extension Price List
    • PDF Extension For Windows Price List
    • Multi-Platform Toolkit for .NET Price List
    • BardecodeFiler Desktop Only Price List
    • BardecodeFiler Windows Service Price List
    • DOS Command Prompt Barcode Tool Price List
    • Terms and Conditions
    • Refund Policy
  • Products
    • Softek Barcode Reader Toolkit for Windows
    • Softek Barcode Reader Toolkit for Linux
    • BardecodeFiler Desktop App
    • BardecodeFiler Windows Service
    • Windows DOS Command Prompt Tool
    • Multi-platform barcode reader toolkit for .NET
    • Aquaforest’s Autobahn DX
  • Knowledge Base
    • Documentation
    • Specifications
  • News
  • Contact
    • About Us
    • Terms and Conditions
    • Resellers
    • Links
Select Page ...

News

Reading bar codes from memory bitmaps using ScanBarCodeFromBitmap

admin September 19, 2014 Blog, Documentation, Knowledge Base, News, Software Development Kits

The ScanBarCodeFromBitmap function allows you to read bar codes from memory bitmaps rather than image files held on disk. The function takes a handle to a bitmap as the parameter rather than the path to a file containing the image. It is normally referred to as an HBITMAP by programmers. You can create a bitmap handle from a BITMAP structure using the CreateBitmapIndirect function. Note that the calling program is responsible for deleting the bitmap handle, so don’t write code such as:

ScanBarCodeFromBitmap(CreateBitmapIndirect(pBitmap))

Instead tidy it up for yourself with something like:

HBITMAP hBitmap = CreateBitmapIndirect(pBitmap)
ScanBarCodeFromBitmap(hBitmap)
DeleteObject(hBitmap)

← Le Velo Jaune Bed and Breakfast in Bourg d’Oisans, France
Linux SDK gets support for Centos 6 and Ubuntu 12.10 →
admin

  • Copyright © 2023 Softek Software Ltd. All Rights Reserved