Page 14 of 20

Re: HMG 3.4.1

Posted: Wed Aug 05, 2015 11:52 am
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.

Re: HMG 3.4.1

Posted: Wed Aug 05, 2015 3:15 pm
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

Re: HMG 3.4.1

Posted: Wed Aug 05, 2015 3:33 pm
by Rathinagiri
Hi,

Please copy libhmgsqlite.a from the previous version lib folder to the current version lib folder.

Re: HMG 3.4.1

Posted: Wed Aug 05, 2015 7:52 pm
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

Re: HMG 3.4.1

Posted: Thu Aug 06, 2015 2:34 am
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.

Re: HMG 3.4.1

Posted: Thu Aug 06, 2015 8:49 am
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.

Re: HMG 3.4.1

Posted: Thu Aug 06, 2015 1:53 pm
by jucar_es
Muy buenos dias

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

ME PUEDEN AYUDAR.

gracias

Re: HMG 3.4.1

Posted: Thu Aug 06, 2015 2:45 pm
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)


Re: HMG 3.4.1

Posted: Thu Aug 06, 2015 5:02 pm
by chrisjx2002
Thanks Dr Claudio!

Re: HMG 3.4.1

Posted: Thu Aug 06, 2015 10:07 pm
by esgici
srvet_claudio wrote:Hi All,
this is a new patch that include all previous patches.
...
Many Thanks Dr. Soto

Best regards