Old DOS to new Windows = Conversion thoughts

User avatar
Jimmy
Posts: 165
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Old DOS to new Windows = Conversion thoughts

Post by Jimmy »

hi,
TimStone wrote:Again, I'm still seeking help to find out why I can't get @ Say and @ Get to line up properly on a Dialog.
sorry to say but it seems that FiveWin does not work well with "Hybrid" Mode when using GUI Parts and Console Mode.
you can try GTWVT LIB but i'm not sure how it will work with FiveWin GUI Parts and it's Events

i have test it with FiveWin and it work as expect with "pure" Cl*pper Code.
i have to include 1 line in Main

Code: Select all

   SETMODE(50,80)
and now it look same as Cl*pper and CLICK.EXE does work correct but it is a 32 Bit App :D

Code "inside" work with same Speed like Cl*pper but "Output" take more Time

---

GTWVT is not include in FiveWin so you have to get harbour "Master" with all LIBs.
you need a BCC Version where you have c:\harbour\lib\win\bcc\gtwvt.lib

---
How To :

Code: Select all

dir *.PRG /B >> MYFILES.HBP
edit MYFILES.HBP and delete "Rest" so only *.PRG belong to Project stay

include on Top of *.PRG these Lines

Code: Select all

-I..\..\include
-L..\..\lib
-lfiveh
-lfivehc
C:\harbour\contrib\xhb\xhb.hbc
C:\harbour\contrib\hbwin\hbwin.hbc
C:\harbour\contrib\hbmzip\hbmzip.hbc
C:\harbour\contrib\hbziparc\hbziparc.hbc

-Lc:\harbour\lib\win\bcc 
-lgtwvt

CLICK2.PRG
...
other *.PRG
 
the 1st Part is from Antonio for FiveWin. i wrote full path which will give Warning (but not Error)
2nd Part is right Syntax for Path (-L) and LIB (-l) and GTWVT
3rd Part are all your *.PRG where 1st File include MAIN

---

open CMD Box and check your Environment for

Code: Select all

set bcdir=c:\bcc7
set FWDIR=c:\fwh
set fwh=c:\fwh
set GT=gtgui
set HBDIR=c:\harbour
set hdir=c:\harbour
set hdirl=c:\harbour\lib

SET PATH=c:\bcc7\bin;%PATH%
SET INCLUDE=c:\fwh\include;%INCLUDE%
 
you need "your" Setting but i recommend to use "Original" Directory.
i made a *.BAT File which i call once when open CMB Box

and now run

Code: Select all

hbmk2 MYFILES.HBP -comp=bcc
---

as i say i have not test how "Printing" work under harbour but i guess they don't use Epson ESC Code.
so that Part will be the Work in next Step while you also need it for GUI Version

have fun
greeting,
Jimmy
Post Reply