HMG 3.0.41
Moderator: Rathinagiri
-
- Posts: 30
- Joined: Mon Mar 26, 2012 10:33 am
- Location: España
Re: HMG 3.0.41
Muchas Gracias !!!
-
- Posts: 132
- Joined: Thu Jul 31, 2008 12:05 pm
Re: HMG 3.0.41
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
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
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Re: HMG 3.0.41
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)
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
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Re: HMG 3.0.41
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)
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
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.0.41
In my C:\hmg.3.0.41\build.bat at:
SET HMGPATH=%~dp0
For this in replacement:
SET HMGPATH=C:\hmg.3.0.41
And then it worked ! It is HMGPATH.
I have modified this:rem ******************************************************************************
rem SET HMGPATH
rem ******************************************************************************
rem
rem Using %~dp0 the HMGPATH is automatically set to current (hmg) folder making it
rem portable (zero config)
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
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
-
- Posts: 270
- Joined: Wed Aug 13, 2008 2:35 pm
- Location: Córdoba - Argentina
Re: HMG 3.0.41
Rathi,
thank you very much!!!!
Best regards,
Mario Mansilla
Muchas gracias
Saludos
Mario Mansilla
thank you very much!!!!

Best regards,
Mario Mansilla
Muchas gracias

Saludos
Mario Mansilla
- luisvasquezcl
- Posts: 1259
- Joined: Thu Jul 31, 2008 3:23 am
- Location: Chile
- Contact:
Re: HMG 3.0.41
Gracias Rathi,
Un saludo desde Chile
Luis Vasquez
Un saludo desde Chile
Luis Vasquez
Re: HMG 3.0.41
Rathingiri Thanks
-
- Posts: 132
- Joined: Thu Jul 31, 2008 12:05 pm
Re: HMG 3.0.41
Les queria avisar que funciono correctamente el agregado de la linea
REQUEST HB_GT_WIN_DEFAULT
Saludos
REQUEST HB_GT_WIN_DEFAULT
Saludos
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Re: HMG 3.0.41
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).claudiotedesco wrote:Les queria avisar que funciono correctamente el agregado de la linea
REQUEST HB_GT_WIN_DEFAULT
Saludos
---
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
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein