Other calls

HMODULE WINAPI GhDlsbar2D()

Calls to GhDlsbar2D return the HMODULE of the DLL and provide a convenient way of obtaining the module handle required for other library calls.

 

Int WINAPI Bar2Dfnt(LPBAR2D bc, LPSTR szOut)

Where bc is a pointer to a BARCODE2D structure that contains the barcode parameters, and szOut is a pointer to a string the will receive the font-based barcode characters that form the symbol when displayed in the appropriate font.

 

int WINAPI GetCodeName(LPINT code, LPSTR name);

where code is a pointer to an integer containing the code value returned whose name is required

name is a pointer to a string that will receive the name string. This string must exist and be at least 24 characters long prior to the call

Returns in the name string the name of the barcode type whose code value is pointed to in code.

 

int WINAPI EnumMode(LPINT code, LPINT mode, LPSTR name, LPINT levels);

where code is a pointer to the code (ie. Barcode type) whose mode names are being enumerated

mode is a pointer to the mode (ie start_mode value) whose name and number of security levels are required

name is a pointer to a string that will received the mode name. This string must exist and be at least 24 characters long prior to the call

levels is a pointer to an integer that will receive the number of security levels supported in the named mode.

Calls to EnumMode are intended to provide access to the names of the supported start_mode values and the number of security_level values of a start_mode.

 

int WINAPI ImageFileName(LPSTR szFileName);

Displays a Windows File Save dialog allowing the user to specify a filename and filetype for saving a graphics file image of a barcode. The szFileName parameter points to a string (which must allow for 256 characters) that will receive the fully qualified filename. This string may be used directly in Bar2Df, Bar2Df2, Bar2D2f or Bar2D2f2 calls.

 

int WINAPI ErrorMess2D(LPINT error, LPSTR mess);

where error is a pointer to an integer containing the error value returned in the BARCODE2D structure after a call to create a barcode image

Mess is a pointer to a string that will receive the error message. This string must exist and be at least 24 characters long prior to the call

Returns in the mess string the text description of the error message associated with an error value of error.

 

 

More:

Using Active-X functionality