HMG 3.0.41

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

Moderator: Rathinagiri

ecabrerizo
Posts: 30
Joined: Mon Mar 26, 2012 10:33 am
Location: España

Re: HMG 3.0.41

Post by ecabrerizo »

Muchas Gracias !!!
claudiotedesco
Posts: 132
Joined: Thu Jul 31, 2008 12:05 pm

Re: HMG 3.0.41

Post by claudiotedesco »

Hola


Estuve probando el ejemplo que esta en la carpeta SAMPLES/CONSOLE
pero no funciona.
Compila el prg a exe pero no se ejecuta
Alguien puede probarlo?
Gracias

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

Re: HMG 3.0.41

Post by Pablo César »

En la primera linea de código hello.prg, adicione:

REQUEST HB_GT_WIN_DEFAULT

Recompile y verás que funciona.

Otra cosa que noté, es que el archivo build.bat está dando error. (voy a verificar)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: HMG 3.0.41

Post by Pablo César »

Claudiotedesco,

En la primera linea de código hello.prg, por favor adicione:

REQUEST HB_GT_WIN_DEFAULT

Recompile y verás que funciona.

Otra cosa que noté, es que el archivo build.bat al ejecutarlo está dando un error. (voy a verificar)

---

In the first line of code hello.prg, please add:

REQUEST HB_GT_WIN_DEFAULT

Recompile and see that it works.

Another thing, I´ve seem the build.bat when executed is giving an error. (I will verify)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG 3.0.41

Post by Pablo César »

In my C:\hmg.3.0.41\build.bat at:
rem ******************************************************************************
rem SET HMGPATH
rem ******************************************************************************
rem
rem Using %~dp0 the HMGPATH is automatically set to current (hmg) folder making it
rem portable (zero config)
I have modified this:
SET HMGPATH=%~dp0

For this in replacement:
SET HMGPATH=C:\hmg.3.0.41

And then it worked ! It is HMGPATH.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Mario Mansilla
Posts: 270
Joined: Wed Aug 13, 2008 2:35 pm
Location: Córdoba - Argentina

Re: HMG 3.0.41

Post by Mario Mansilla »

Rathi,
thank you very much!!!! :)
Best regards,
Mario Mansilla

Muchas gracias :)
Saludos
Mario Mansilla
User avatar
luisvasquezcl
Posts: 1259
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: HMG 3.0.41

Post by luisvasquezcl »

Gracias Rathi,
Un saludo desde Chile
Luis Vasquez
bels79
Posts: 37
Joined: Fri Sep 09, 2011 8:01 am
DBs Used: DBF, MySQL

Re: HMG 3.0.41

Post by bels79 »

Rathingiri Thanks
claudiotedesco
Posts: 132
Joined: Thu Jul 31, 2008 12:05 pm

Re: HMG 3.0.41

Post by claudiotedesco »

Les queria avisar que funciono correctamente el agregado de la linea

REQUEST HB_GT_WIN_DEFAULT

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

Re: HMG 3.0.41

Post by Pablo César »

claudiotedesco wrote:Les queria avisar que funciono correctamente el agregado de la linea

REQUEST HB_GT_WIN_DEFAULT

Saludos
Hasta la version 3.0.35 teníamos la opción de configurar en la IDE si queríamos compilar en modo console o no. Pero en las versiones posteriores es solamente asi que el programa compilado através de IDE-HMG, que entiende que tiene que ser ejecutado em modo console (dentro del código).

---

Upto version 3.0.35 we can count with the option to set in the IDE for compilong in console mode or not. But in later versions by IDE compiling, the nly way is to be mentioned REQUEST HB_GT_WIN_DEFAULT onside the code.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply