I have the same application in C# : one on my desktop with windows 7 x86 and an other on a server x64. Application is compiled with option "Any CPU" and all library are in the application folder :
GdPicture.NET.9.barcode.1d.reader.64.dll
GdPicture.NET.9.barcode.1d.reader.dll
GdPicture.NET.9.barcode.1d.writer.dll
GdPicture.NET.9.dll
GdPicture.NET.9.filters.64.dll
GdPicture.NET.9.filters.dll
GdPicture.NET.9.image.gdimgplug.64.dll
GdPicture.NET.9.image.gdimgplug.dll
GdPicture.NET.9.ocr.tesseract.3.64.dll
GdPicture.NET.9.ocr.tesseract.3.dll
GdPicture.NET.9.PDF.dll
The code is very simple :
Code: Select all
GdPicturePDF oGdPicturePDF = new GdPicturePDF();
if (oGdPicturePDF.LoadFromFile(f, false) == GdPictureStatus.OK)
{
for (int numeroPage = 1; numeroPage <= oGdPicturePDF.GetPageCount(); numeroPage++)
{
oGdPicturePDF.SelectPage(numeroPage);
int ImageID = oGdPicturePDF.RenderPageToGdPictureImage(200, true);
if (ImageID != 0)
{
GdPictureImaging oGdPictureImaging = new GdPictureImaging();
oGdPictureImaging.Barcode1DReaderDoScan(ImageID, Barcode1DReaderScanMode.BestQuality, Barcode1DReaderType.Barcode1DReaderCode39, false, 1);
LogUtils.Trace(" + Nombre de codes barre : " + oGdPictureImaging.Barcode1DReaderGetBarcodeCount());
}
}
}
Could you help me please.
Regards,
Gilles