SET VERSION IDE

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

Moderator: Rathinagiri

User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

SET VERSION IDE

Post 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.
Attachments
Set_Version_IDE.rar
(2.68 KiB) Downloaded 337 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Leopoldo Blancas
Posts: 388
Joined: Wed Nov 21, 2012 7:14 pm
Location: México

Re: SET VERSION IDE

Post 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
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: SET VERSION IDE

Post 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.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Leopoldo Blancas
Posts: 388
Joined: Wed Nov 21, 2012 7:14 pm
Location: México

Re: SET VERSION IDE

Post by Leopoldo Blancas »

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 6736 times
File del IDE
File del IDE
IDE.png (47.25 KiB) Viewed 6736 times
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: SET VERSION IDE

Post by srvet_claudio »

Debería aparecer así:
Attachments
version_IDE.JPG
version_IDE.JPG (23.12 KiB) Viewed 6734 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Leopoldo Blancas
Posts: 388
Joined: Wed Nov 21, 2012 7:14 pm
Location: México

Re: SET VERSION IDE

Post by Leopoldo Blancas »

Mañana repito la operación...

Gracias
Polo
Leopoldo Blancas
Posts: 388
Joined: Wed Nov 21, 2012 7:14 pm
Location: México

Re: SET VERSION IDE

Post 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
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: SET VERSION IDE

Post 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.
Attachments
HMG_UNICODE_H.rar
(828 Bytes) Downloaded 301 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: SET VERSION IDE

Post 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
Viva INTERNATIONAL HMG :D
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: SET VERSION IDE

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