support
barcode VC++ DLL
crUFLBcs.dll download
barcode VC++ DLL

Call Barcode Dynamic Link Library From VC++


Con el fin de crear códigos de barras en su propia aplicación,
usted necesita fuentes true type y Barcodesoft cruflbcs.dll.

Algunas aplicaciones heredadas de Windows no pueden llamar a objetos COM.
Sin embargo, estas aplicaciones todavía se puede llamar librería de enlace dinámico (cruflBCS.dll)

Si descarga e instalar la demo de producto Barcodesoft, se encuentra crUFLBCS.dll
en C:\Program Files (x86)\Common Files\Barcodesoft\FontUtil\ carpeta.

Si usted no encuentra cruflbcs.dll en su ordenador, puede descargarlo de DLL de código de barras.

El fragmento de código siguiente se muestra cómo llamar a una función de biblioteca de vínculos dinámicos para crear códigos de barras.

Aplicar un tipo de letra adecuado a 'szReturn', y usted tiene código de barras generado.

Puede utilizar el siguiente fragmento de código para llamar librería de enlace dinámico (DLL) cruflBCS.dll
typedef int (*LPFNDLLFUNC)(char*, char*);
char modulePath[] = "cruflbcs.dll";
HINSTANCE m_hLibInstance = LoadLibrary( modulePath );
if (m_hLibInstance != NULL)
{
lpfnDllFunc = (LPFNDLLFUNC)GetProcAddress(m_hLibInstance, "BCSPDF417Encode");
if (!lpfnDllFunc)
FreeLibrary(m_hLibInstance);
else
nReturn = lpfnDllFunc(pszInpara, szReturn);
}
FreeLibrary(m_hLibInstance);


Barcode
Symbology
Barcode Functions Parameters Barcode Font
Code39 barcode BCSCode39 char* strToEncode,
char& strOutput
Code39mHr
BCSCode39Check same as above Code39mHr
BCSUSSCode39 same as above Code39mHr
BCSCode39Ext same as above Code39mHr
Code128 barcode BCSCode128A char* strToEncode,
char& strOutput
Code128aMHr
BCSCode128B same as above Code128aMHr
BCSCode128C same as above Code128aMHr
BCSUCCEAN128 same as above Code128aMHr
UPC-A EAN13 barcode BCSUPCA char* strToEncode,
char& strOutput
UpcEanM
BCSUPCE same as above UpcEanM
BCSEAN13 same as above UpcEanM
BCSEAN8 same as above UpcEanM
BCSBookland same as above UpcEanM
Intelligent Mail Barcode BCSONECODE char* strToEncode,
char& strOutput
BcsIM
Postnet and Planet barcode BCSPOSTNET same as above Postnet
Royal Mail Barcode BCSROYALMAIL same as above bcsRM4SCC
Interleaved 2of5 Barcode BCSI25 char* strToEncode,
char& strOutput
I25mHr
BCSI25Check same as above I25mHr
Code 2of5 Barcode BCSCode25 char* strToEncode,
char& strOutput
Code25mHr
BCSCode25Check same as above Code25mHr
Telepen Barcode BCSTelepen char* strToEncode,
char& strOutput
TelepenMHr
BCSTelepenNumeric same as above TelepenMHr
Code93 Barcode BCSCode93 char* strToEncode,
char& strOutput
Code93mHr
Code11 Barcode BCSCode11 char* strToEncode,
char& strOutput
Code11mHr
Codabar Barcode BCSCodabar char* strToEncode,
char& strOutput
CodabarmHr
MSI Plessey Barcode BCSMSI char* strToEncode,
char& strOutput
MSImHr
PDF417 barcode BCSPDF417 char* strToEncode,
char& strOutput
BcsPDF417
BCSPDF417Option char *pszToEncode,
LONG nMaxRows,
LONG nFixedColumns,
LONG nSecurity,
LONG nCompactionMode,
BOOL bTruncated,
char& pszOutput
BcsPDF417
MicroPDF417 barcode BCSMicroPDF417Encode char* strToEncode,
char& strOutput
BcsPDF417
GS1-Databar Barcode BCSDatabarEncode same as above BcsDatabarM
BCSDatabarExpEncode same as above BcsDatabarM
BCSDatabarExpStkEncode same as above BcsDatabarM
BCSDatabarLtdEncode same as above BcsDatabarM
BCSDatabarStackEncode same as above BcsDatabarM
BCSDatabarStkOmniEncode same as above BcsDatabarM
MaxiCode Barcode BCSMaxicodeEncode char* strToEncode,
char& strOutput
BcsMaxicode
Datamatrix barcode BCSDataMatrixEncode char* strToEncode,
char& strOutput
BcsDataMatrix
BCSDataMatrixOption char *pszToEncode,
LONG Format,
char& pszOutput
BcsDataMatrix
QRCode barcode BCSQRCodeEncode char* strToEncode,
char& strOutput
BcsQrcode
BCSQRCodeOption char *pszToEncode,
LONG ErrorLevel,
char& pszOutput
BcsQrcode
Aztec bar code BCSAztecEncode char* strToEncode,
char& strOutput
BcsAztec
BCSAztecOption char *pszToEncode,
LONG Format,
LONG ErrorLevel,
char& pszOutput
BcsAztec
Code16k barcode BCSCode16KEncode char* strToEncode,
char& strOutput
Code16kMhr

The Dynamic Link Library (DLL) cruflBCS.dll exports the following functions:


Code39:

BCSCode39(char* strToEncode, char& strOutput);
BCSCode39Check(char* strToEncode, char& strOutput);
BCSUSSCode39(char* strToEncode, char& strOutput);
BCSCode39Ext(char* strToEncode, char& strOutput);

Code128:

BCSCode128A(char* strToEncode, char& strOutput);
BCSCode128B(char* strToEncode, char& strOutput);
BCSCode128C(char* strToEncode, char& strOutput);
BCSUSS128(char* strToEncode, char& strOutput);
BCSUCCEAN128(char* strToEncode, char& strOutput);

UPC EAN:

BCSUPCA(char* strToEncode, char& strOutput);
BCSUPCE(char* strToEncode, char& strOutput);
BCSEAN13(char* strToEncode, char& strOutput);
BCSEAN8(char* strToEncode, char& strOutput);
BCSBookland(char* strToEncode, char& strOutput);

Data Matrix:

BCSDataMatrixEncode(char* strToEncode, char& strOutput);
BCSDataMatrixOption(char *pszToEncode, LONG Format, char& pszOutput);

PDF417:

BCSPDF417Encode(char* strToEncode, char& strOutput);
BCSPDF417Option(char *pszToEncode, LONG nMaxRows, LONG nFixedColumns, LONG nSecurity, LONG nCompactionMode, BOOL bTruncated, char& pszOutput);
BCSMicroPDF417Encode(char* strToEncode, char& strOutput);

QR Code:

BCSQRCodeEncode(char* strToEncode, char& strOutput);
BCSQRCodeOption(char *pszToEncode, long ErrorLevel, char& pszOutput);

Aztec:

BCSAztecEncode(char* strToEncode, char& strOutput);
BCSAztecOption(char *pszToEncode, LONG Format, LONG ErrorLevel, char& pszOutput);

Code16K:

BCSCode16KEncode(char* strToEncode, char& strOutput);

Interleaved 2 of 5:

BCSI25(char* strToEncode, char& strOutput);
BCSI25Check(char* strToEncode, char& strOutput);

Intelligent Mail barcode and Postnet:

BCSONECODE(char* strToEncode, char& strOutput);
BCSROYALMAIL(char* strToEncode, char& strOutput);
BCSPOSTNET(char* strToEncode, char& strOutput);

Code25:

BCSCode25(char* strToEncode, char& strOutput);
BCSCode25Check(char* strToEncode, char& strOutput);

Code11:

BCSCode11(char* strToEncode, char& strOutput);

Code93:

BCSCode93(char* strToEncode, char& strOutput);

MSI/Plessey:

BCSMSI(char* strToEncode, char& strOutput);

Codabar:

BCSCodabar(char* strToEncode, char& strOutput);

Telepen:

BCSTelepen(char* strToEncode, char& strOutput);
BCSTelepenNumeric(char* strToEncode, char& strOutput);

MaxiCode:

BCSMaxicode(char* strToEncode, char& strOutput);

GS1-Databar:

BCSDatabar14(char* strToEncode, char& strOutput);
BCSDatabarExpEncode(char* strToEncode, char& strOutput);
BCSDatabarExpStkEncode(char* strToEncode, char& strOutput);
BCSDatabarLtdEncode(char* strToEncode, char& strOutput);
BCSDatabarStackEncode(char* strToEncode, char& strOutput);
BCSDatabarStkOmniEncode(char* strToEncode, char& strOutput);

barcode DLL
barcode DLL