Hernans TWBrowse library for FWH 2.7

Hernans TWBrowse library for FWH 2.7

Postby Timm Sodtalbers » Sun Dec 04, 2005 12:55 pm

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

Postby Rick Lipkin » Sun Dec 04, 2005 1:50 pm

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

Postby Timm Sodtalbers » Sun Dec 04, 2005 2:47 pm

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

Postby Richard Chidiak » Sun Dec 04, 2005 3:22 pm

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
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby Rick Lipkin » Sun Dec 04, 2005 5:39 pm

Timm

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

Rick
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Postby Timm Sodtalbers » Mon Dec 05, 2005 8:51 am

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

Postby Richard Chidiak » Mon Dec 05, 2005 8:40 pm

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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 70 guests