Showing 5 Result(s)

Using the Multi-Threaded set of dll functions

The SoftekBarcode.dll includes a set of functions suitable for use in multi-threaded applications. The multi-threaded functions all require a handle to the toolkit. This is created using the mtCreateBarcodeSession function and released using the mtDestroyBarcodeSession function: hBarcode = mtCreateBarcodeInstance() nBarcodes = mtScanBarCode(hBarcode, “input.tif”) …process the result in some way mtDestroyBarcodeInstance(hBarcode)   All the multi-threaded functions …

IOS 4.1 code detail

Detailed description of work-around for AVCaptureVideoPreviewLayer problem in IOS 4.1 IOS 4.1 seems to contain a critical bug in the AVCaptureVideoPreviewLayer which causes app’s to freeze when an instance of the class is created. The normal way to use AVCaptureVideoPreviewLayer is as follows:   // Create the session session = [[AVCaptureSession alloc] init];     // Configure …

Code snippets for Visual C++

This article shows 2 simple visual c++ code snippets that use either the standard windows dll or the com object for the toolkit. Standard Windows DLL hBarcode = mtCreateBarcodeInstance() ;   //Set properties mtSetReadCode128 (hBarcode, 1) ; //Read barcodes int nBarCodes = mtScanBarCode(hBarcode, m_ImageFile) ; //Get results for (int i = 1; i <= nBarCodes; …

Code snippets for VB.net

This arcticle shows some simple VB.net code snippets that reference the .net component or com object for the SDK in Visual Studio. .NET Managed Class Library with Visual Studio 2003 ‘Add a reference to SoftekBarcodeLib.dll Dim barcode As SoftekBarcodeLib.BarcodeReader barcode = New SoftekBarcodeLib.BarcodeReader ‘Set properties barcode.ReadCode128 = True ‘Read barcodes nBarCodes = barcode.ScanBarCode(Path) ‘Get results …

VB6 Code snippets

Use the following links to view code snippets for the 3 different interfaces commonly used from Visual Basic 6… ActiveX/OCX Interface ‘Add SoftekBarcode ActiveX Control module by selecting Components from the Projects ‘menu ‘Set properties SoftekBarcode1.ReadCode128 = True ‘Read barcodes nBarCodes = SoftekBarcode1.ScanBarCode(Path) ‘Get results For i = 1 To nBarCodes strBarcode = SoftekBarcode1.GetBarString(i) COM Object …