bardecode.com
barcode reading software
  • Home
  • Download
  • Purchase
  • SDK Licensing
  • Pricing
    • Windows SDK Price List
    • Windows SDK with PDF Extension Price List
    • PDF Extension For Windows Price List
    • Linux SDK Price List
    • Multi-Platform Toolkit for .Net/Docker Price List
    • BardecodeFiler Desktop Only Price List
    • BardecodeFiler Windows Service Price List
    • DOS Command Prompt Barcode Tool Price List
  • Products
    • Barcode Reader Toolkit for Windows
    • Barcode Reader Toolkit for Linux
    • BardecodeFiler Application Desktop Only
    • BardecodeFiler Application & Windows Service
    • Windows DOS Command Prompt Barcode Tool
    • Multi-Platform Barcode Reader Toolkit for .Net Standard on Docker
    • Aquaforest’s Autobahn DX
  • Knowledge Base
    • Documentation
    • Specifications
  • News
  • Contact
    • About Us
    • 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 © 2021 Softek Software Ltd. All Rights Reserved