Page 2 of 7

Re: HMG 3.0.41

Posted: Mon Apr 23, 2012 11:48 am
by ecabrerizo
Muchas Gracias !!!

Re: HMG 3.0.41

Posted: Mon Apr 23, 2012 1:32 pm
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

Re: HMG 3.0.41

Posted: Mon Apr 23, 2012 2:16 pm
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)

Re: HMG 3.0.41

Posted: Mon Apr 23, 2012 2:16 pm
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)

HMG 3.0.41

Posted: Mon Apr 23, 2012 2:28 pm
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.

Re: HMG 3.0.41

Posted: Tue Apr 24, 2012 1:04 am
by Mario Mansilla
Rathi,
thank you very much!!!! :)
Best regards,
Mario Mansilla

Muchas gracias :)
Saludos
Mario Mansilla

Re: HMG 3.0.41

Posted: Tue Apr 24, 2012 1:15 am
by luisvasquezcl
Gracias Rathi,
Un saludo desde Chile
Luis Vasquez

Re: HMG 3.0.41

Posted: Tue Apr 24, 2012 3:22 am
by bels79
Rathingiri Thanks

Re: HMG 3.0.41

Posted: Tue Apr 24, 2012 11:49 am
by claudiotedesco
Les queria avisar que funciono correctamente el agregado de la linea

REQUEST HB_GT_WIN_DEFAULT

Saludos

Re: HMG 3.0.41

Posted: Tue Apr 24, 2012 12:06 pm
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.