Page 1 of 1
Hernans TWBrowse library for FWH 2.7
Posted: Sun Dec 04, 2005 12:55 pm
by Timm Sodtalbers
Hi,
does someone have a version of Hernans TWBrowse library (version 15)
that can be linked with FWH 2.7 and xHarbour 0.99.5?
Posted: Sun Dec 04, 2005 1:50 pm
by Rick Lipkin
Tim
Add #include <hbapiitm.h> to the wbrline.c code. Antonio helped me with this one because of the recent changes in xHarbour.
Rick Lipkin
SC Dept of Health, USA
#ifdef __HARBOUR__
#include <hbVm.h>
// #include <hbfast.h>
#include <hbapiitm.h> #define MoveTo( hDC, x, y ) MoveToEx( hDC, x, y, NULL )
#define _PutSym( _SymEval ) hb_vmPushSymbol( &hb_symEval )
#define _xPushM hb_vmPush
#define _PutLN hb_vmPushLong
#define _xEval hb_vmDo
#define _cEval0 hb_vmEvalBlock
#define _Get_Sym hb_dynsymFindName
#endif
Posted: Sun Dec 04, 2005 2:47 pm
by Timm Sodtalbers
Rick,
many thanks for your fast reply.
I just tested it but I still get many errors compiling wbrwline.c.
Could you please send me your wbrwline.obj via email?
Posted: Sun Dec 04, 2005 3:22 pm
by Richard Chidiak
Timm Sodtalbers wrote:Rick,
many thanks for your fast reply.
I just tested it but I still get many errors compiling wbrwline.c.
Could you please send me your wbrwline.obj via email?
Hello Timm,
I know this is off topic, but can you please provide an easy way to use Easyreport with fwh over 2.4 ? The problem is with fwh 2.6 and fwh 2.7
The only way to get a report working correct is to link an old printer.prg and tmetafil.prg.
If you need a sample, please let me know,
Thanks for your help
Richard
Posted: Sun Dec 04, 2005 5:39 pm
by Rick Lipkin
Timm
I just sent the .c and .obj compiled with Borland and the batch script to re-compile the lib
Rick
Posted: Mon Dec 05, 2005 8:51 am
by Timm Sodtalbers
Hi Richard,
EasyReport works with all FWH versions.
If you use EasyPreview you need to compile/link tmetafil.prg
and printer.prg of FWH 2005 March or lower. This is because
the format of the temporary preview files changes from WMF to
EMF in the next releases.
I will try to solve this problem.
Posted: Mon Dec 05, 2005 8:40 pm
by Richard Chidiak
Timm Sodtalbers wrote:Hi Richard,
EasyReport works with all FWH versions.
If you use EasyPreview you need to compile/link tmetafil.prg
and printer.prg of FWH 2005 March or lower. This is because
the format of the temporary preview files changes from WMF to
EMF in the next releases.
I will try to solve this problem.
Timm
Thanks for considering the problem. The "old printer.prg" has a serious bug with printer name (office printer with fax for example) . Antonio has already fixed this bug in recent fwh releases and i seriously would like to use this fix.
Please note (and this is very strange) that the easyreport preview problem occurs only for treport class not for print class !
Will be looking forward to hear from you,
Best regards
Richard