Page 1 of 2

SET VERSION IDE

Posted: Mon Mar 04, 2013 2:03 am
by srvet_claudio
Hi All.

Set_Version_IDE load the IDE and assign the current version of the HMG in the title bar of IDE.

1) Compiles the Set_Version_IDE.prg with HMG.3.1.1

2) Copy the .EXE file to the folder C:\hmg.x.x.x\IDE

3) Create a shortcut to C:\hmg.x.x.x\IDE\Set_Version_IDE.exe

Best regards,
Claudio.

Re: SET VERSION IDE

Posted: Mon Mar 04, 2013 3:02 am
by Leopoldo Blancas
Hola Claudio !!!

Ya descargue tu aplicaciòn... pero no veo la diferencia... que hay de nuevo en este IDE?

Gracias por la explicaciòn.

Saludos
Polo

Re: SET VERSION IDE

Posted: Mon Mar 04, 2013 3:26 am
by srvet_claudio
Leopoldo Blancas wrote:no veo la diferencia... que hay de nuevo en este IDE?
Hola Polo.
Set_Version_IDE no es un nuevo IDE, simplemente pone en la barra del titulo del IDE la versión de HMG al cual corresponde.
Esto es útil cuando empleas diferentes versiones de HMG con el IDE, puedes tener varios IDE abiertos a la vez que ejecutan diferentes versiones de HMG y saber cual corresponde a cual.
Saludos,
Claudio.

Re: SET VERSION IDE

Posted: Mon Mar 04, 2013 4:59 am
by Leopoldo Blancas
Hola Claudio... no veo la diferencia... estas son las imagenes de los dos IDE.....






Saludos
Polo

Re: SET VERSION IDE

Posted: Mon Mar 04, 2013 5:16 am
by srvet_claudio
Debería aparecer así:

Re: SET VERSION IDE

Posted: Mon Mar 04, 2013 6:34 am
by Leopoldo Blancas
Mañana repito la operación...

Gracias
Polo

Re: SET VERSION IDE

Posted: Tue Mar 05, 2013 3:38 am
by Leopoldo Blancas
Hola Claudio...

Sigue saliendo igual, a la hora de compilar se muestra estos mensajes...

Code: Select all

Harbour 3.2.0dev (Rev. 18706)
Copyright (c) 1999-2012, http://harbour-project.org/
C:\hmg.3.1.1\MiosHMG\Set_Version_IDE\Set_Version_IDE.prg: In function 'HB_FUN_GETAPPINFO':
C:\hmg.3.1.1\MiosHMG\Set_Version_IDE\Set_Version_IDE.prg:167:7: warning: passing argument 2 of 'strcpy' from incompatible pointer type [enabled by default]
c:\hmg.3.1.1\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/string.h:45:39: note: expected 'const char *' but argument is of type 'short unsigned int *'
C:\hmg.3.1.1\MiosHMG\Set_Version_IDE\Set_Version_IDE.prg: In function 'Func_GetAppInfo':
C:\hmg.3.1.1\MiosHMG\Set_Version_IDE\Set_Version_IDE.prg:222:4: warning: passing argument 2 of 'GetWindowTextW' from incompatible pointer type [enabled by default]
c:\hmg.3.1.1\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winuser.h:3807:23: note: expected 'LPWSTR' but argument is of type 'TCHAR *'
C:\hmg.3.1.1\MiosHMG\Set_Version_IDE\Set_Version_IDE.prg:223:4: warning: passing argument 2 of 'GetWindowTextW' from incompatible pointer type [enabled by default]
c:\hmg.3.1.1\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winuser.h:3807:23: note: expected 'LPWSTR' but argument is of type 'TCHAR *'
C:\hmg.3.1.1\MiosHMG\Set_Version_IDE\Set_Version_IDE.prg:229:4: warning: passing argument 2 of 'strcpy' from incompatible pointer type [enabled by default]
c:\hmg.3.1.1\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/string.h:45:39: note: expected 'const char *' but argument is of type 'short unsigned int *'
C:\hmg.3.1.1\MiosHMG\Set_Version_IDE\Set_Version_IDE.prg:230:4: warning: passing argument 2 of 'strcpy' from incompatible pointer type [enabled by default]
c:\hmg.3.1.1\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/string.h:45:39: note: expected 'const char *' but argument is of type 'short unsigned int *'
C:\hmg.3.1.1\MiosHMG\Set_Version_IDE\Set_Version_IDE.prg:231:4: warning: passing argument 2 of 'strcpy' from incompatible pointer type [enabled by default]
c:\hmg.3.1.1\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/string.h:45:39: note: expected 'const char *' but argument is of type 'short unsigned int *'
C:\hmg.3.1.1\MiosHMG\Set_Version_IDE\Set_Version_IDE.prg:236:8: warning: passing argument 3 of 'GetModuleFileNameExW' from incompatible pointer type [enabled by default]
C:\hmg.3.1.1\MiosHMG\Set_Version_IDE\Set_Version_IDE.prg:236:8: note: expected 'LPWSTR' but argument is of type 'TCHAR *'

Pero hace el ejecutable... aun asì lo copio y me sigue saliendo como te indique màs arriba en otro post... :roll:

Saludos
Polo

Re: SET VERSION IDE

Posted: Wed Mar 06, 2013 12:11 am
by srvet_claudio
Polo las advertencias del compilador son porque la compilación no es en Unicode.

Copia el archivo de cabecera adjunto a:
C:\hmg.3.1.1\INCLUDE\HMG_UNICODE.h

1) Compila Set_Version_IDE con HMG.3.1.1
2) Copia Set_Version_IDE.EXE a C:\hmg.3.1.1\IDE\
3) Crea un acceso directo y ejecuta C:\hmg.3.1.1\IDE\Set_Version_IDE.EXE

Saludos,
Claudio.

Re: SET VERSION IDE

Posted: Wed Mar 06, 2013 12:32 am
by esgici
Hola Polo and Claudio

Congratulations :!:

What a nice you get along among yourselves ;)

Anyway, saludos to you and all HMG members :arrow:

Happy HMG'ing :D

Re: SET VERSION IDE

Posted: Wed Mar 06, 2013 12:54 am
by srvet_claudio
esgici wrote:Hola Polo and Claudio

Congratulations

What a nice you get along among yourselves

Anyway, saludos to you and all HMG members

Happy HMG'ing
Sorry friend :( , the next will be in English.