CreateBarcodeInstance - create a instance of the barcode toolkit (win32 dll only)
Syntax
mtCreateBarcodeInstance()
Return Value
Handle to an instance of the barcode toolkit (dll only).
Remarks
Create an instance of the barcode toolkit and return a handle that may be used with other functions in the win32 dll interface. Please note that this function is not applicable to other interfaces for the toolkit. This function only exists in the dll interface to the SDK.
Example:
Dim hBarcode As System.IntPtr
hBarcode = mtCreateBarcodeInstance()
mtSetReadCode39(hBarcode, True)
Win32 dll declarations:
VB.Net:
Private Declare Function mtCreateBarcodeInstance Lib “Softekbarcode” () As System.IntPtr
Visual C++:
extern “C” {
HANDLE __stdcall mtCreateBarcodeInstance() ;
}