karinha wrote:gracias Masters, no logro hacer funcionar.
- Code: Select all Expand view RUN
C:\QRCODE3>Set hdir=C:\XHBBCC72
C:\QRCODE3>Set bcdir=C:\bcc72
C:\QRCODE3>Set fwhdir=C:\FwH1701
C:\QRCODE3>rem @If Exist *.Obj Del *.Obj
C:\QRCODE3>If Exist GASFW.Exe Del GASFW.Exe
C:\QRCODE3>REM -> Area dos Arquivos com ExtensÆo *.PRG Gerados em FiveWin
C:\QRCODE3>C:\XHBBCC72\bin\harbour QRCODE3 /m/n /iC:\FwH1701\include;C:\XHBBCC72\include;C:\bcc72\include /w0 /p 1>Erro.log
C:\QRCODE3>C:\bcc72\bin\bcc32 -M -c -v -O2 -eQRCODE3.exe -IC:\XHBBCC72\include -IC:\bcc72\include QRCODE3.C 1>>Erro.log
C:\QRCODE3>rem hdir=C:\XHBBCC72
C:\QRCODE3>C:\bcc72\bin\bcc32 -M -c -v -O2 -IC:\XHBBCC72\include gdipfwh.cpp 1>>Erro.log
C:\QRCODE3>If ErrorLevel 1 Type Erro.log | More
xHarbour 1.2.3 Intl. (SimpLex) (Build 20170215)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'QRCODE3.prg' and generating preprocessed output to 'QRCODE3.ppo'...
Done.
Lines 172, Functions/Procedures 6, pCodes 525
Embarcadero C++ 7.20 for Win32 Copyright (c) 1993-2016 Embarcadero Technologies, Inc.
QRCODE3.c:
Embarcadero C++ 7.20 for Win32 Copyright (c) 1993-2016 Embarcadero Technologies, Inc.
GDIPFWH.CPP:
Warning W8022 c:\bcc72\include\windows\sdk\GdiplusHeaders.h 650: 'Bitmap::Clone(const Rect &,int)' hides virtual function 'Image::Clone()'
Error E2268 GDIPFWH.CPP 955: Call to undefined function 'hb_parvni' in function HB_FUN_GDIP_FILLRECT()
Error E2268 GDIPFWH.CPP 1004: Call to undefined function 'hb_parvnd' in function HB_FUN_GDIP_DRAWTEXT()
*** 2 errors in Compile ***
C:\QRCODE3>If ErrorLevel 1 Goto Exit
C:\QRCODE3>REM C:\bcc72\bin\bcc32 -M -c -O2 -eQRCODE3.exe -IC:\XHBBCC72\include QRCODE3.c
C:\QRCODE3>C:\bcc72\bin\ilink32 -Gn -aa -Tpe -s @Cx.Lnk
Turbo Incremental Link 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc.
Fatal: Unable to open file 'GDIPFWX.OBJ'
Regards, saludos.
.....
#include <fwh.h>
#define GDIPVER 0x0110
#ifdef __BORLANDC__
#if (__BORLANDC__ >= 0x700)
//#pragma option -w-hid
#pragma warn -hid
#include <gdiplus.h>
#pragma warn .hid
//#pragma option -w-hid.
#else
#include <gdiplus.h>
#endif
#else
#include <gdiplus.h>
#endif
#include <gdiplusimaging.h>
....
GDIPFWH.CPP:
Warning W8022 c:\bcc72\include\windows\sdk\GdiplusHeaders.h 650: 'Bitmap::Clone(const Rect &,int)' hides virtual function 'Image::Clone()'
Error E2268 GDIPFWH.CPP 955: Call to undefined function 'hb_parvni' in function HB_FUN_GDIP_FILLRECT()
Error E2268 GDIPFWH.CPP 1004: Call to undefined function 'hb_parvnd' in function HB_FUN_GDIP_DRAWTEXT()
*** 2 errors in Compile ***
Embarcadero C++ 7.20 for Win32 Copyright (c) 1993-2016 Embarcadero Technologies, Inc.
Error E2194: Could not find file 'gdipplus.cpp'
karinha wrote:Gracias master, no funciona. Que complicado.
- Code: Select all Expand view RUN
GDIPFWH.CPP:
Warning W8022 c:\bcc72\include\windows\sdk\GdiplusHeaders.h 650: 'Bitmap::Clone(const Rect &,int)' hides virtual function 'Image::Clone()'
Error E2268 GDIPFWH.CPP 955: Call to undefined function 'hb_parvni' in function HB_FUN_GDIP_FILLRECT()
Error E2268 GDIPFWH.CPP 1004: Call to undefined function 'hb_parvnd' in function HB_FUN_GDIP_DRAWTEXT()
*** 2 errors in Compile ***
Embarcadero C++ 7.20 for Win32 Copyright (c) 1993-2016 Embarcadero Technologies, Inc.
Error E2194: Could not find file 'gdipplus.cpp'
Regards, saludos.
hmpaquito wrote:karinha wrote:hmpaquito wrote:Hablando de impresion de codigo de barras,
Hace unos meses me topé con una impresora térmica. Utilicé la librería BarLib de Cayetano, pero no imprimía nada. En cambio desde Word si imprimía sin ningun tipo de problema o configuración especial...
Cual és la impresora térmica?
Saludos.
Godex G500
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 50 guests