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?
Hernans TWBrowse library for FWH 2.7
-
- Posts: 25
- Joined: Sat Oct 08, 2005 6:44 am
- Location: Aurich, Germany
- Contact:
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
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
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
-
- Posts: 25
- Joined: Sat Oct 08, 2005 6:44 am
- Location: Aurich, Germany
- Contact:
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Hello Timm,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?
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
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
-
- Posts: 25
- Joined: Sat Oct 08, 2005 6:44 am
- Location: Aurich, Germany
- Contact:
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
TimmTimm 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.
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