HMG 3.4.1

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
Pepe Ruano
Posts: 65
Joined: Fri Aug 16, 2013 11:31 am
DBs Used: DBF
Location: Almansa, Albacete - Spain
Contact:

Re: HMG 3.4.1

Post by Pepe Ruano »

Gracias a la sugerencia de Grigory, he podido solucionarlo y ahora funciona bien.

He modificado el archivo source\h_status.prg y luego he compilado todas las librerias.
En el código que pone:

Code: Select all

 _DefineTimer ( 'StatusKeyBrd' , FormName , 200 , ;
Lo he sustituido por:

Code: Select all

_DefineTimer ( 'StatusKeyBrd' , FormName , 50 , ;
Ahora todo funciona bien. Solucionado.
Muchas gracias a todos.

In English:

Thanks for the suggestion of Grigory, I could fix it and now it works fine.

I modified file source\h_status.prg and then I compiled all libraries
In the code that says:

Code: Select all

  _DefineTimer ('StatusKeyBrd', FormName, 200;
I modified the value and I left it like this:

Code: Select all

_DefineTimer ('StatusKeyBrd' FormName, 50;
Now everything works fine. Solved.
Thank you very much to all.
Saludos - Regards
Pepe Ruano
hmg.ruano.org
jorge.posadas
Posts: 174
Joined: Mon May 19, 2014 7:43 pm
DBs Used: DBF, SQLite, MS-SQL, ACCESS, MariaDB (en proceso)
Location: Morelia, Mich. México
Contact:

Re: HMG 3.4.1

Post by jorge.posadas »

He bajado esta version y al compilar un ejemplo que está en:
C:\hmg.3.4.1\SAMPLES\HFCL\SQL\SQLITE

usando BUILD DEMO, me manda este error:

Harbour 3.2.0dev (r1506261250)
Copyright (c) 1999-2015, http://harbour-project.org/
C:/Users/ADMINI~1/AppData/Local/Temp/hbmk_khxhut.dir/demo.o:demo.c:(.data+0xa8): undefined reference to `HB_FUN_CONNECT2DB'
C:/Users/ADMINI~1/AppData/Local/Temp/hbmk_khxhut.dir/demo.o:demo.c:(.data+0x178): undefined reference to `HB_FUN_SQL'
C:/Users/ADMINI~1/AppData/Local/Temp/hbmk_khxhut.dir/demo.o:demo.c:(.data+0xe8): undefined reference to `HB_FUN_C2SQL'
C:/Users/ADMINI~1/AppData/Local/Temp/hbmk_khxhut.dir/demo.o:demo.c:(.data+0x188): undefined reference to `HB_FUN_MISCSQL'
C:/hmg.3.4.1/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/ADMINI~1/AppData/Local/Temp/hbmk_khxhut.dir/demo.o: bad reloc address 0xf in section `.text.startup'
C:/hmg.3.4.1/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
hbmk2: Error: Ejecutando enlazador. 1
gcc.exe C:/Users/ADMINI~1/AppData/Local/Temp/hbmk_khxhut.dir/demo.o C:/Users/ADMINI~1/AppData/Local/Temp/hbmk_khxhut.dir/hbmk_28ibhm.o C:/hmg.3.4.1/SAMPLES/HFCL/SQL/SQLITE/_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 -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 -odemo.exe -LC:/hmg.3.4.1/harbour/lib/win/mingw -LC:/hmg.3.4.1/lib

hbmk2: Error: Funci¢n(es) referenciada, no encontrada, pero desconocida:
CONNECT2DB(), SQL(), C2SQL(), MISCSQL()



¿Cómo puedo solucionar esto?

De antemanon muchas gracias
Cordialmente

POSADAS SOFTWARE
Jorge Posadas Ch.
Programador independiente
Morelia, Mich.
M é x i c o .
Movil +52 44 3734 1858
SKYPE: jorge.posadasch
Email: posoft@gmx.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.1

Post by Rathinagiri »

Hi,

Please copy libhmgsqlite.a from the previous version lib folder to the current version lib folder.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.4.1

Post by esgici »

Rathinagiri wrote:Hi,

Please copy libhmgsqlite.a from the previous version lib folder to the current version lib folder.
  • libeay32.a
    libhmgmysql.a
    libhmgpgsql.a
are also missing :(

May will be any problem copying them too :?

Viva HMG :D
Viva INTERNATIONAL HMG :D
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.1

Post by Rathinagiri »

Esgici, files you have mentioned are not required if you don't use SQL/SQLCipher. So, I have stopped distributing these files. In the next version we have to properly handle these also.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.4.1

Post by esgici »

Rathinagiri wrote:Esgici, files you have mentioned are not required if you don't use SQL/SQLCipher. So, I have stopped distributing these files. In the next version we have to properly handle these also.
OK Rathi, thanks.

Best regards.
Viva INTERNATIONAL HMG :D
jucar_es
Posts: 82
Joined: Thu Nov 13, 2008 11:12 pm

Re: HMG 3.4.1

Post by jucar_es »

Muy buenos dias

estoy tratando de compilar el ejemplo en postgresql
Y ME SALE ESTE ERROR

ME PUEDEN AYUDAR.

gracias
Attachments
Captura.JPG
Captura.JPG (147.02 KiB) Viewed 5139 times
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.4.1

Post by srvet_claudio »

Hi All,
this is a new patch that include all previous patches.

Code: Select all

- Fixed bug in CreateEvent (reported by Roberto Lopez)
- Fixed bug in This.QueryData of Grid control (reported by Roberto Lopez)
- Fixed bug in BackColor of InputWindow (reported by Roberto Lopez)
- Fixed bug in Print Preview (reported by Roberto Lopez)
- New function HBtoWinDateFormat() for fixed bug in get date format of MonthCal/DatePick controls (contrib by Pablo Cesar)
- IsControlDefined, IsWindowDefine and IsWindowActive functions, accept parameters FormName/ControlName with/without quotation marks (contrib by Pablo Cesar)
- Now SplitChild Window support OnPaint event.

In this patch:
- Fixed bug in get Cell value of the Grid control (reported by Marek)
- Fixed bug in default color of HeaderDYNAMICBACKCOLOR of the Grid control (reported by Rathinagiri)
- Fixed bug in DYNAMICFONT and ONCHECKBOXCLICKED of Grid control in i_altsyntax.ch header file (contrib by Rathinagiri)

Attachments
hmg.3.4.1_patch3.rar
(821.81 KiB) Downloaded 408 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
chrisjx2002
Posts: 190
Joined: Wed Jan 06, 2010 5:39 pm

Re: HMG 3.4.1

Post by chrisjx2002 »

Thanks Dr Claudio!
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.4.1

Post by esgici »

srvet_claudio wrote:Hi All,
this is a new patch that include all previous patches.
...
Many Thanks Dr. Soto

Best regards
Viva INTERNATIONAL HMG :D
Post Reply