CLASS TGrid() for FiveWin

Re: CLASS TGrid() for FiveWin

Postby Jimmy » 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
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: CLASS TGrid() for FiveWin

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6312
Joined: Fri Oct 07, 2005 7:07 pm

Re: CLASS TGrid() for FiveWin

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42068
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: CLASS TGrid() for FiveWin

Postby Jimmy » Tue Mar 14, 2023 4: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
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: CLASS TGrid() for FiveWin

Postby Jimmy » Tue Mar 14, 2023 4: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
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: CLASS TGrid() for FiveWin

Postby Antonio Linares » Tue Mar 14, 2023 9:34 am

Dear Jimmy,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42068
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: CLASS TGrid() for FiveWin

Postby Jimmy » Wed Mar 15, 2023 1: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: Select all  Expand view
ImageLeft=NO
ImageRight=NO
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: CLASS TGrid() for FiveWin

Postby Otto » Wed Mar 15, 2023 6: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6312
Joined: Fri Oct 07, 2005 7:07 pm

Re: CLASS TGrid() for FiveWin

Postby Enrico Maria Giordano » Wed Mar 15, 2023 8:38 am

Yes, what is the latest updated link to download it?
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: CLASS TGrid() for FiveWin

Postby Enrico Maria Giordano » Wed Mar 15, 2023 9:05 am

Is this?

https://github.com/AugeOhr/TGRID

If yes, first problem:

Code: Select all  Expand view
DUALGRID.PRG(91) Error F0029  Can't open #include file: 'hbthread.ch'


xHarbour does not have that include file.
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: CLASS TGrid() for FiveWin

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6312
Joined: Fri Oct 07, 2005 7:07 pm

Re: CLASS TGrid() for FiveWin

Postby Jimmy » Wed Mar 15, 2023 11:03 pm

hi,
Enrico Maria Giordano wrote:If yes, first problem:

Code: Select all  Expand view
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
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: CLASS TGrid() for FiveWin

Postby Enrico Maria Giordano » Thu Mar 16, 2023 8: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: Select all  Expand view
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.
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: CLASS TGrid() for FiveWin

Postby Jimmy » Sat Mar 18, 2023 1:49 pm

Enrico Maria Giordano wrote:
Jimmy wrote:This is not true:
Code: Select all  Expand view
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
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 34 guests