SET VERSION IDE

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

SET VERSION IDE

Post by srvet_claudio » Mon Mar 04, 2013 2:03 am

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.
Attachments
Set_Version_IDE.rar
(2.68 KiB) Downloaded 148 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

Leopoldo Blancas
Posts: 344
Joined: Wed Nov 21, 2012 7:14 pm
Location: México
Has thanked: 1 time
Been thanked: 4 times

Post by Leopoldo Blancas » Mon Mar 04, 2013 3:02 am

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

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » Mon Mar 04, 2013 3:26 am

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.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

Leopoldo Blancas
Posts: 344
Joined: Wed Nov 21, 2012 7:14 pm
Location: México
Has thanked: 1 time
Been thanked: 4 times

Post by Leopoldo Blancas » Mon Mar 04, 2013 4:59 am

Hola Claudio... no veo la diferencia... estas son las imagenes de los dos IDE.....






Saludos
Polo
Attachments
Set_Version_IDE.png
Set_Version_IDE.png (51.96 KiB) Viewed 2847 times
IDE.png
File del IDE
IDE.png (47.25 KiB) Viewed 2847 times

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » Mon Mar 04, 2013 5:16 am

Debería aparecer así:
Attachments
version_IDE.JPG
version_IDE.JPG (23.12 KiB) Viewed 2845 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

Leopoldo Blancas
Posts: 344
Joined: Wed Nov 21, 2012 7:14 pm
Location: México
Has thanked: 1 time
Been thanked: 4 times

Post by Leopoldo Blancas » Mon Mar 04, 2013 6:34 am

Mañana repito la operación...

Gracias
Polo

Leopoldo Blancas
Posts: 344
Joined: Wed Nov 21, 2012 7:14 pm
Location: México
Has thanked: 1 time
Been thanked: 4 times

Post by Leopoldo Blancas » Tue Mar 05, 2013 3:38 am

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

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » Wed Mar 06, 2013 12:11 am

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.
Attachments
HMG_UNICODE_H.rar
(828 Bytes) Downloaded 110 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
esgici
Posts: 4471
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 351 times
Been thanked: 104 times
Contact:

Post by esgici » Wed Mar 06, 2013 12:32 am

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
Viva INTERNATIONAL HMG :D

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » Wed Mar 06, 2013 12:54 am

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.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

Post Reply