FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Hernans TWBrowse library for FWH 2.7
Posts: 25
Joined: Sat Oct 08, 2005 06:44 AM
Hernans TWBrowse library for FWH 2.7
Posted: 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
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Hernans TWBrowse library for FWH 2.7
Posted: Sun Dec 04, 2005 01: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
Posts: 25
Joined: Sat Oct 08, 2005 06:44 AM
Hernans TWBrowse library for FWH 2.7
Posted: Sun Dec 04, 2005 02: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
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Hernans TWBrowse library for FWH 2.7
Posted: Sun Dec 04, 2005 03: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
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Hernans TWBrowse library for FWH 2.7
Posted: Sun Dec 04, 2005 05:39 PM

Timm

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

Rick

Posts: 25
Joined: Sat Oct 08, 2005 06:44 AM
Hernans TWBrowse library for FWH 2.7
Posted: Mon Dec 05, 2005 08: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
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Hernans TWBrowse library for FWH 2.7
Posted: Mon Dec 05, 2005 08: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
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013

Continue the discussion