FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour CLASS TGrid() for FiveWin
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: CLASS TGrid() for FiveWin
Posted: Sun Mar 12, 2023 11:48 PM
hi Otto,

i have download TGRID-main.zip and compile / link Source and got working EXE :D
just use GO.BAT (BCC 32 Bit) or GO64.BAT (MSVC 64 Bit)

! Note : you have to DELETE all Resource in DUALGRID.RC which are only DUMMY as i don´t provide Icon/Bitmap

for BCC i use *.MAK which have these Path
HBDIR=c:\harbour
BCDIR=c:\BCC7
FWDIR=c:\fwh

for MSVC i use *.HBP and Folder
c:\harbour64
c:\FWH64

---

your Error-log begin with Line 4823 but all LOCAL are define in line 4807
it look like your Download is corrupt. please try download again

i would NEVER release a Sample which so much Error ... :roll:
greeting,

Jimmy
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: CLASS TGrid() for FiveWin
Posted: Mon Mar 13, 2023 10:04 AM

Jimmy, Thank you.

I still can't create the exe with go.bat. But my main installation is xHarbour. Maybe that's the reason.

I will recreate exactly your installation on another PC.

But I have looked at the EXE.

A great work. Thank you very much. I think with this commander you can automate many tasks with simple extensions.

Best regards,

Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: CLASS TGrid() for FiveWin
Posted: Mon Mar 13, 2023 11:07 AM

Dear Jimmy,

This seems to be missing:

c:\BCC7\bin\brc32.exe -r DUALGRID.rc

Borland Resource Compiler Version 5.40

Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.

Error DUALGRID.rc 34 32: Cannot open file: RES\BOLOV.ICO

Please add it to the repo in github, many thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: CLASS TGrid() for FiveWin
Posted: Tue Mar 14, 2023 04:28 AM
hi Otto,
Otto wrote:But my main installation is xHarbour. Maybe that's the reason.
i do not work with xharbour, only harbour.

as i know you need to include xhb.hbc for xharbour
but i can´t "test" it while have no xharbour
greeting,

Jimmy
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: CLASS TGrid() for FiveWin
Posted: Tue Mar 14, 2023 04:33 AM
hi Antonio,
Antonio Linares wrote:This seems to be missing:

c:\BCC7\bin\brc32.exe -r DUALGRID.rc
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.

Error DUALGRID.rc 34 32: Cannot open file: RES\BOLOV.ICO

Please add it to the repo in github, many thanks
you are right but

i have wrote : i do NOT include Resource (which may make Copyright Problem)

Dualgrid.RC is "just" a "dummy" to show which Resource are used (but not NEED see later)

so Delete all BOLOV.ICO and TRANSPAR.bmp from DualGrid.RC when not using own Resource

---

Resource are only for Menus so not really need.

only "MYGREEN" Bitmap will "missing" to show on "active" TAB Header

Icon for "Drive-Letter" will be used "direct" from System DLL
that Way i want to go with other Resource too ... but it is still under Construction

---

p.s. have upload RES.ZIP to replace MYGREEN to show "in" active TAB-Header
greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: CLASS TGrid() for FiveWin
Posted: Tue Mar 14, 2023 09:34 AM
Dear Jimmy,

It is working great. Very good work :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 01:20 AM
some more Tips

when start DualGrid it will create Config.INI

when edit Config.INI you can change Pos/Size of [MAINWINDOW]
under [COUNTRY] use "your" Language/Codepage

default Windows Icon Size are 32 / 16 but that is very small on big Screen
you can change it to 32 / 256 and "use Image" in Menu for big Thumbs in "Icon-Mode"

under [CONTROLS] all should be YES

...

if you have Problem with "multi-Threading" use Start-Parameter "/S"

if Start is slow you might have enable "use Image".
disable it
Code (fw): Select all Collapse
ImageLeft=NO
ImageRight=NO
greeting,

Jimmy
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 06:35 AM

Dear Enrico, may I ask, as I know you are a xHarbour power user if you can test to compile.

Thank you in advance

Otto

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 08:38 AM

Yes, what is the latest updated link to download it?

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 09:05 AM
Is this?

https://github.com/AugeOhr/TGRID

If yes, first problem:
Code (fw): Select all Collapse
DUALGRID.PRG(91) Error F0029  Can't open #include file: 'hbthread.ch'
xHarbour does not have that include file.
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 11:08 AM

Dear Enrico,

thank you.

I am trying on a PC where I have Harbour installed.

As I am not so experienced with compiler setup, I just wanted to know if I have an easy fix.

Thank you very much,

Otto

Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 11:03 PM
hi,
Enrico Maria Giordano wrote:If yes, first problem:
Code (fw): Select all Collapse
DUALGRID.PRG(91) Error F0029  Can't open #include file: 'hbthread.ch'
xHarbour does not have that include file.
oooh ... i did not know hat xharbour does not have "hbthread.ch"

how does xharbour use Thread :?:

---

i have EXCLUDE "hbthread.ch" from Dualgrid.PRG and TGrid.PRG and it seems to compile without Error/Warnings :!:
but you have to use Start Parameter "/S" else TGrid() is empty
greeting,

Jimmy
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: CLASS TGrid() for FiveWin
Posted: Thu Mar 16, 2023 08:33 AM
Jimmy wrote:oooh ... i did not know hat xharbour does not have "hbthread.ch"

how does xharbour use Thread :?:
I do not know. I have never used threads.
Jimmy wrote:i have EXCLUDE "hbthread.ch" from Dualgrid.PRG and TGrid.PRG and it seems to compile without Error/Warnings :!:
This is not true:
Code (fw): Select all Collapse
TGRID.PRG(1010) Warning W0001  Ambiguous reference 'HB_THREAD_INHERIT_PUBLIC'
TGRID.PRG(1010) Warning W0001  Ambiguous reference 'HB_THREAD_MEMVARS_COPY'
Jimmy wrote:but you have to use Start Parameter "/S" else TGrid() is empty
I don't understand, sorry.
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: CLASS TGrid() for FiveWin
Posted: Sat Mar 18, 2023 01:49 PM
Enrico Maria Giordano wrote:
This is not true:
Code (fw): Select all Collapse
TGRID.PRG(1010) Warning W0001  Ambiguous reference 'HB_THREAD_INHERIT_PUBLIC'
TGRID.PRG(1010) Warning W0001  Ambiguous reference 'HB_THREAD_MEMVARS_COPY'
yes you are right

i have forgot to delete (all) Object

---

have download xhb10269_bcc740.zip and bcc740.zip and try to modify *.MAK
but it seems that there is much more which i do not understand

i don´t know xharbour so i give up to modify DualGrid Demo CODE for xharbour
greeting,

Jimmy

Continue the discussion