Hernans TWBrowse library for FWH 2.7

Post Reply
Timm Sodtalbers
Posts: 25
Joined: Sat Oct 08, 2005 6:44 am
Location: Aurich, Germany
Contact:

Hernans TWBrowse library for FWH 2.7

Post 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?
Best regards, Timm.

Timm Sodtalbers
Sodtalbers IT
www.reportdesigner.info
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Post 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
Timm Sodtalbers
Posts: 25
Joined: Sat Oct 08, 2005 6:44 am
Location: Aurich, Germany
Contact:

Post 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?
Best regards, Timm.

Timm Sodtalbers
Sodtalbers IT
www.reportdesigner.info
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post 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
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Post by Rick Lipkin »

Timm

I just sent the .c and .obj compiled with Borland and the batch script to re-compile the lib

Rick
Timm Sodtalbers
Posts: 25
Joined: Sat Oct 08, 2005 6:44 am
Location: Aurich, Germany
Contact:

Post 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.
Best regards, Timm.

Timm Sodtalbers
Sodtalbers IT
www.reportdesigner.info
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post 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
Post Reply