Used iTextSharp third Party DLL to create the Barcode image
below code was developed in C# application.how to Implement on vc++ 6.0 mfc application
What I have tried:
Examples for C#:
private string GenerateBarCodeStringMFormat("M ",Name,age,address,city,pincode);
{
return BarCodeString;
}
public static byte[] generateBarCodeMFormat(string strBarCode) { iTextSharp.text.pdf.BarcodePDF417 barcode = new iTextSharp.text.pdf.BarcodePDF417();
barcode.SetText(strBarCode); System.Drawing.Image img = barcode.CreateDrawingImage(Color.Black, Color.White);
MemoryStream ms = new MemoryStream(); img.Save(ms, System.Drawing.Imaging.ImageFormat.Gif); byte[] m_Bytes = ms.ToArray(); return m_Bytes;
}