HMG 3.4.3

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.4.3

Post by srvet_claudio »

serge_girard wrote:Claudio,

I use it as following:

Code: Select all

FOR A = 1 TO LEN(acTitles)
	GRID_SetColumnControl ("Grid_Materiaal", "Form_PR004A", _GRID_COLUMNCAPTION_, A, acTitles [A])
NEXT A
Then I get this error:

C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/pr004.o:pr004.c:(.data+0x598): undefined reference to `HB_FUN_GRID_SETCOLUMNCONTROL'

collect2.exe: error: ld returned 1 exit status

hbmk2[sporserv]: Error: Running linker. 1
gcc.exe C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss000.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/pr004.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss001.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss002.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss00716.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss015.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss020.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss022.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss025.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss030.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss040.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss050.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss050p.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss055.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss100.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss150.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss200.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss900.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss_help.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/hbmk_mcj70k.o P:/hmg.3.0.44/SPORSERV/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -osporserv.exe -LP:/hmg.3.4.2/harbour/lib/win/mingw -LP:/hmg.3.4.2/lib

hbmk2: Error: Referenced, missing, but unknown function(s):
GRID_SETCOLUMNCONTROL()

Serge
GRID_SetColumnControl it is an internal function that name is changed, instead use:

Code: Select all

SetProperty (cFormName, cGridName, cProp, nColumn, xValue)

where cProp:

"COLUMNHEADER"
"COLUMNWIDTH"
"COLUMNJUSTIFY"
"COLUMNCONTROL"
"COLUMNDYNAMICBACKCOLOR"
"COLUMNDYNAMICFORECOLOR"
"COLUMNDYNAMICFONT"
"HEADERDYNAMICFONT"
"HEADERDYNAMICBACKCOLOR"
"HEADERDYNAMICFORECOLOR"
"COLUMNVALID"
"COLUMNWHEN"
"COLUMNONHEADCLICK"
"COLUMNDISPLAYPOSITION"
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
serge_girard
Posts: 3162
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG 3.4.3

Post by serge_girard »

Claudio, Thank you so much!

Serge
There's nothing you can do that can't be done...
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.4.3

Post by srvet_claudio »

mol wrote:The same error caused by Dynamic Display solution is generated by samples: grid\grid_26, grid\grid_29, grid\grid_30.
Please, change line 3212 of file source\h_grid.prg:

Code: Select all

This.CellValue := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
for this:

Code: Select all

_HMG_SYSDATA [ 318 ] := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
and rebuild HMG library.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: HMG 3.4.3

Post by andyglezl »

Hola

Me sucede un detalle (que no pasa en la 3.4) y es que al mostrar la ventana de PRINT PREVIEW
y luego cerrarla, me borra el color fondo de la ventana anterior. (es una VIRTUAL WINDOW)
Alguna idea ?

mmm..... Viendolo por otro lado, es posible que el color de fondo de las ventanas sea transparente ??
------------------------------------------------------------------------------------------------------------------------------
Hello

It happens a detail (which does not happen in 3.4) is that the display window PRINT PREVIEW
and then close it, I deleted the color bottom of the previous window. (It is a VIRTUAL WINDOW)
Any ideas ?

mmm ..... seeing on the other hand, it is possible that the background color is transparent windows ??

ErrorEnVirtualWindow.jpg
ErrorEnVirtualWindow.jpg (222.74 KiB) Viewed 7066 times
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.4.3

Post by mol »

srvet_claudio wrote:
mol wrote:The same error caused by Dynamic Display solution is generated by samples: grid\grid_26, grid\grid_29, grid\grid_30.
Please, change line 3212 of file source\h_grid.prg:

Code: Select all

This.CellValue := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
for this:

Code: Select all

_HMG_SYSDATA [ 318 ] := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
and rebuild HMG library.
H_GRID.PRG ends at the line #3054 :shock: :?
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG 3.4.3

Post by bpd2000 »

May be line # is 2843
BPD
Convert Dream into Reality through HMG
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: HMG 3.4.3

Post by andyglezl »

Hola

Estoy probando el ejemplo de SQLite y me da error al compilar...
-------------------------------------------------------------------------------
Hello

I'm testing the example of SQLite and gives me error when compiling ...

SQLite.jpg
SQLite.jpg (191.89 KiB) Viewed 6995 times


Encontré en la carpeta LIBS de la version 3.2 la libhmgsqlite.a y la copie a la carpeta de la
3.4.3 y ya funciona. ( pero no se si esta version la traía ó sea la correcta)
----------------------------------------------------------------------------------------------------------
I found in the folder LIBS version 3.2 the libhmgsqlite.a and copy the folder
3.4.3 and it works. (but not if this version brought it or it is correct)



Buscando en el foro, creo que la tome de aquí... ( no deberian venir por default en cada version ??? )

-------------------------------------------------------->>> search.php?st=0&sk=t&sd=d&sr=posts&keyw ... D&start=50

I looking in the forum, I think the take from here ... (Should not come by default in each version ???)
Last edited by andyglezl on Thu May 12, 2016 2:25 am, edited 2 times in total.
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.4.3

Post by srvet_claudio »

bpd2000 wrote:May be line # is 2843
Yes you you're right, I'm sorry,
it is the line 2843 of file h_grid.prg in the GetDataGridCellData function.

replace this line:

Code: Select all

This.CellValue := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
for this:

Code: Select all

_HMG_SYSDATA [ 318 ] := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
and rebuild the lib.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.4.3

Post by Rathinagiri »

andyglezl wrote:Hola

Estoy probando el ejemplo de SQLite y me da error al compilar...
-------------------------------------------------------------------------------
Hello

I'm testing the example of SQLite and gives me error when compiling ...


SQLite.jpg



Encontré en la carpeta LIBS de la version 3.2 la libhmgsqlite.a y la copie a la carpeta de la
3.4.3 y ya funciona. ( pero no se si esta version la traía ó sea la correcta)
----------------------------------------------------------------------------------------------------------
I found in the folder LIBS version 3.2 the libhmgsqlite.a and copy the folder
3.4.3 and it works. (but not if this version brought it or it is correct)



Buscando en el foro, creo que la tome de aquí... ( no deberian venir por default en cada version ??? )

-------------------------------------------------------->>> search.php?st=0&sk=t&sd=d&sr=posts&keyw ... D&start=50

I looking in the forum, I think the take from here ... (Should not come by default in each version ???)

Thanks for reporting. I will give patch for HMGSQLite.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
GodkarPS
Posts: 40
Joined: Wed Nov 06, 2013 10:12 am
DBs Used: DBF
hmg with SQL SERVER
Location: INDIA
Contact:

Re: HMG 3.4.3

Post by GodkarPS »

Really it is good, thank you very much to the HMG development team.

GodkarPS
Post Reply