HMG 3.0.40

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

Tristan
Posts: 40
Joined: Sun Jul 19, 2009 2:15 pm

Re: HMG 3.0.40

Post by Tristan »

Hi,

I found an error when compile demo.prg in folder C:\hmg\SAMPLES\REPORT.ADVANCED.1

Harbour 3.1.0dev (Rev. 17111)
Copyright (c) 1999-2011, http://harbour-project.org/
Cannot open hbvpdf.prg, assumed external
Cannot open hbvpsup.prg, assumed external
C:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1a8): undefined reference to `HB_FUN_PDFINIT'
C:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1c8): undefined reference to `HB_FUN_PDFOPEN'
C:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x2f8): undefined reference to `HB_FUN_PDFNEWPAGE'
C:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x3a8): undefined reference to `HB_FUN_PDFCLOSE'
C:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x478): undefined reference to `HB_FUN_PDFSETFONT'
C:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x488): undefined reference to `HB_FUN_PDFATSAY'
C:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x498): undefined reference to `HB_FUN_PDFTEXTWIDTH'
C:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4c8): undefined reference to `HB_FUN_PDFIMAGE'
C:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4e8): undefined reference to `HB_FUN_PDFBOX'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:/DOCUME~1/Julian/LOCALS~1/Temp/hbmk_d2bs0i.dir/demo.o C:/DOCUME~1/Julian/LOCALS~1/Temp/hbmk_d2bs0i.dir/hbmk_vexc5l.o C:/hmg/SAMPLES/REPORT.ADVANCED.1/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lhfcl -lini -lreport -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lhbextern -lhbdebug -lhbvm -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 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -odemo.exe -LC:/hmg/harbour/lib/win/mingw -LC:/hmg/harbour/bin -LC:/hmg/lib

Thanks & Regards,
Tristan
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG 3.0.40

Post by Pablo César »

Tristan wrote:I found an error when compile demo.prg in folder C:\hmg\SAMPLES\REPORT.ADVANCED.1

Harbour 3.1.0dev (Rev. 17111)
Copyright (c) 1999-2011, http://harbour-project.org/
Cannot open hbvpdf.prg, assumed external
Cannot open hbvpsup.prg, assumed external
...//...
Please be kind to read this: http://hmgforum.com/viewtopic.php?f=2&t=2075&start=10
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: HMG 3.0.40

Post by jairpinho »

Hello everyone I'm having problems since the 3.0.38, 3.039, 3.040 hmg with a return of function after enabling a code follows the form:

*********************************************************************************************************************************************************************
Function Form_Progres()
*********************************************************************************************************************************************************************
IF !IsWindowDefined(Form_Progresso)
Load Window Form_Progresso
lAtivo:= .T.
Form_Progresso.Center
Form_Progresso.Activate

Else
Form_Progresso.Center
Form_Progresso.Restore
lAtivo:= .T.

EndIF

Return(lAtivo) --->>not returning the value
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG 3.0.40

Post by Pablo César »

I have noted that diferent FONTCOLOR (than color default) when assigned is not working in
Frames in HMG version 3.0.40. Backcolor is OK but fontcolor: NOT.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.0.40

Post by mol »

rathinagiri wrote:Hi all,

I am happy to upload the new version HMG 3.0.40.

It can be downloaded from site (24.67 MB)

Code: Select all

- HMG 3.0.40 (Test) 2011/11/13 Changelog:
- Updated to Harbour 3.1 Nightly Build (17111 2011-11-10)
- New : SET CELLNAVIGATIONMODE EXCEL | STANDARD (by Roberto Lopez) To have an option to navigate cells in a grid downwards while in-place editing. Please see samples\grid.39 sample folder.
Enjoy!
I found

Code: Select all

 SET CELLNAVIGATIONMODE EXCEL
phrase very useful, but after editing last row grid should leave edit mode, I think.

And, everything works fine, when you enter edit mode by pressing ENTER key. If you double click your mouse, pointer doesn't move down...


Regards, Marek
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.0.40 ( Re-building lib )

Post by esgici »

Hi All

I can't re-build HMG lib via buildlib.bat :(

C:\hmg>buildlib
Harbour 3.1.0dev (Rev. 17111)
Copyright (c) 1999-2011, http://harbour-project.org/
Compiling 'source\ErrorSys.prg'...
source\ErrorSys.prg(48) Error F0029 Can't open #include file 'hmg.ch'
hbmk2: Error: Running Harbour compiler (embedded). 1
(C:\hmg\harbour\bin\harbour.exe) -n2 source\ErrorSys.prg source\h_browse.prg sou
rce\h_button.prg source\h_checkbox.prg source\h_combo.prg source\h_controlmisc.prg
...
\ -iC:\hmg\harbour\include


In fact I need no re-build HMG, but my own lib; attempting re-build HMG was for learning new way to build a lib.

Any help will be appreciated.

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG 3.0.40

Post by danielmaximiliano »

Hi Esgici:
recien compile hmg.hbp mediante el batch que modifique para construir mis programas y no encontre ningun error.
puede ud. modificar la ruta donde se encuentre su instalacion hmg.

Translate google:
recently compiled by the batch hmg.hbp to modify to build my programs and found no error.
can you. change the path where the installation is hmg.
hmg.3.0.png
hmg.3.0.png (179.71 KiB) Viewed 5490 times

Code: Select all

@echo off
cls
Title New HMG -- Build.bat -- 
@echo 
if "%1"=="" goto Input                                                                                                                                        
if not EXIST %1 Goto Noexist

:Build  
@Echo Compiling %*                                                                            
call %HMGPATH%build.bat %*
@echo.
goto Finish

:Noexist
echo  El archivo %1  no existe,  revise el nombre
@echo  
Goto Finish

:Input
SET HMGPATH=e:\hmg.3.0.40\
Color 04
@echo ********************************************************************************
@echo   Este Batch pasa informacion a hbmk2 para un compilacion facil y limpia       
@echo   se distribuye como esta y no garantiza que este libre de errores             
@echo   si encuentra una puede escribirme a danielmaximiliano@yahoo.com.ar            
@echo   Basado un Build.bat distribuido en el Proyecto HMG de Roberto Lopez           
@echo ********************************************************************************
@echo.
@echo Entre el nombre del proyecto a compilar, asume la extension .HBP si este existe
@echo en la carpeta del proyecto, sino compila el .PRG
@echo. 
@echo "<Enter>" sale del Batch
@echo.
color 07
Set /p Filename=Nombre de la Aplicacion:=
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.

if {%Filename%}=={} goto :Finish
if EXIST %Filename%.hbp (Set Extension=.hbp&&Goto Enterparameters)
if EXIST %Filename%.prg (Set Extension=.prg&&Goto Enterparameters)
goto Cleanvar


:EnterParameters
@echo *******************************************************************************
@echo  Parametros Extras para compilar %Filename%%extension%
@echo. 
@echo                           /n	No EJECUTAR desdepues de compilar
@echo                           /d	Habilita DEBUG
@echo                           /c	Modo CONSOLA DOS
@echo. 
@echo Nota: " Con un <Enter> ningun parametro es pasado "
@echo *******************************************************************************
@echo.
Set /p Parameter=Parametros :=
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
If "%Parameter%"== "" goto Continue
If /I "%Parameter%"=="/n" Goto Withparameters
If /I "%Parameter%"=="/d" Goto Withparameters
If /I "%Parameter%"=="/c" Goto Withparameters
cls
Goto EnterParameters


:Withparameters
@echo compilando con parametros
if EXIST %Filename%.hbp Goto HBPParameters 
if EXIST %Filename%.prg Goto PRGParameters
goto Cleanvar



:HBPParameters
@Echo Compilando %Filename%.hbp %Parameter%
call %HMGPATH%build.bat  %filename%.hbp %Parameter%
goto Cleanvar

:PRGParameters
Echo Compilando %Filename%.PRG %Parameter%
call %HMGPATH%build.bat %filename%.prg %Parameter%
goto Cleanvar


:Continue
@echo no parameters compilation
if EXIST %Filename%.hbp Goto HBP 
if EXIST %Filename%.prg Goto PRG


:HBP
@Echo Compile %Filename%.hbp
call %HMGPATH%build.bat %filename%.hbp 
goto Cleanvar

:PRG
@Echo Compile %Filename%.prg
call %HMGPATH%build.bat %filename%.prg
goto Cleanvar

:CleanVar
@echo Cleaning variable´s
(SET HMGPATH=)
(SET Filename=)
(SET Parameter=)
Goto Input 

:Finish
@echo Cleaning variable´s
set "bar="
set "percent=0"
set "count=0"
for /l %%i in (1,1,20) do set "bar=!bar!±"
:loop
set /p "= %bar:~0,20% %percent%%%"<nul
ping -n 1 -w 1 localhost>nul
for /l %%i in (1,1,26) do set /p "="<nul
set "bar=Û%bar%"
set /a "count+=1"
set /a "percent+=5"
if %count% leq 20 goto:loop
echo.
echo.
(SET HMGPATH=)
(SET Filename=)
(SET Parameter=)
(set bar=)
(set percent=)
(set count=)

*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.0.40

Post by esgici »

Hola Daniel

Thanks to your interest :)

But my problem is with buildlib.bat, no build.bat :(

Saludos

--

Esgici
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.0.40

Post by Rathinagiri »

Hi Esgici,

It is working fine for me. Can you please upload/enter your buildlib.bat?
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.0.40

Post by esgici »

Hi Rathi
rathinagiri wrote:It is working fine for me.
This is very good news :)

My buildlib.bat is :

Code: Select all

@echo off

REM
REM $Id: buildlib.bat 438 2010-10-19 02:37:12Z roblez $
REM


SET HMGPATH=%~dp0

SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\mingw\bin;%PATH%

hbmk2 hmg.hbp
Regards

--

Esgici
Viva INTERNATIONAL HMG :D
Post Reply