Page 3 of 3
Re: CLASS TGrid() for FiveWin
Posted: Sun Mar 12, 2023 11:48 pm
by Jimmy
hi Otto,
i have download TGRID-main.zip and compile / link Source and got working EXE
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 ...
Re: CLASS TGrid() for FiveWin
Posted: Mon Mar 13, 2023 10:04 am
by Otto
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
Re: CLASS TGrid() for FiveWin
Posted: Mon Mar 13, 2023 11:07 am
by Antonio Linares
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
Re: CLASS TGrid() for FiveWin
Posted: Tue Mar 14, 2023 4:28 am
by Jimmy
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
Re: CLASS TGrid() for FiveWin
Posted: Tue Mar 14, 2023 4:33 am
by Jimmy
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
Re: CLASS TGrid() for FiveWin
Posted: Tue Mar 14, 2023 9:34 am
by Antonio Linares
Dear Jimmy,
It is working great. Very good work
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 1:20 am
by Jimmy
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
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 6:35 am
by Otto
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
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 8:38 am
by Enrico Maria Giordano
Yes, what is the latest updated link to download it?
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 9:05 am
by Enrico Maria Giordano
Is this?
https://github.com/AugeOhr/TGRID
If yes, first problem:
Code: Select all | Expand
DUALGRID.PRG(91) Error F0029 Can't open #include file: 'hbthread.ch'
xHarbour does not have that include file.
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 11:08 am
by Otto
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
Re: CLASS TGrid() for FiveWin
Posted: Wed Mar 15, 2023 11:03 pm
by Jimmy
hi,
Enrico Maria Giordano wrote:If yes, first problem:
Code: Select all | Expand
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
Re: CLASS TGrid() for FiveWin
Posted: Thu Mar 16, 2023 8:33 am
by Enrico Maria Giordano
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
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.
Re: CLASS TGrid() for FiveWin
Posted: Sat Mar 18, 2023 1:49 pm
by Jimmy
Enrico Maria Giordano wrote:Jimmy wrote:This is not true:
Code: Select all | Expand
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