Call_IDE - Utility for HMG IDE

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

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 1628
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 186 times
Been thanked: 29 times
Contact:

Re: Call_IDE - Utility for HMG IDE

Post by serge_girard » Mon Jan 30, 2017 11:11 am

OK, I got it.

Renamed hmg3.4.3 IDE and copied hmg3.4.2. IDE.

Thx

User avatar
Steed
Posts: 256
Joined: Sat Dec 12, 2009 3:40 pm

Post by Steed » Mon Jan 30, 2017 3:02 pm

Gracias, nice utilitie

User avatar
Pablo César
Posts: 4011
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

Post by Pablo César » Mon Jan 30, 2017 3:35 pm

Que bueno que te haya gustado, Eduar
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4011
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

Post by Pablo César » Tue Jan 31, 2017 10:56 pm

serge_girard wrote:
Mon Jan 30, 2017 11:11 am
OK, I got it.

Renamed hmg3.4.3 IDE and copied hmg3.4.2. IDE.

Thx
I renamed as "IDE_Debugger" (for UNICODE and ANSI).

And now Serge with this option (picture below) to choose the HMG IDE installed, is it easier to identify ?
 
Screen69.png
Screen69.png (25.8 KiB) Viewed 267 times
 
Note the TreeItem icons (auto-detected). :P

I'm going to update Call_IDE and I will release another version with this implementation of InstalledAt. ;)

Thank you for encouraging me. :)
Last edited by Pablo César on Wed Feb 01, 2017 9:57 pm, edited 3 times in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4011
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

Post by Pablo César » Wed Feb 01, 2017 12:10 am

Hola Claudio, preciso una ayudita.

Estoy agregando esta funcion al proyecto InstalledAt:

Code: Select all

nIcons := ExtractIconEx(cIDE, -1, Nil, Nil, 1)

Code: Select all

HB_FUNC ( EXTRACTICONEX )
  {
    HICON iLarge;
    HICON iSmall;
    UINT  nIcons = hb_parni( 5 );
  
    hb_retni( ExtractIconEx( (LPCSTR) HMG_parc( 1 ), hb_parni( 2 ), &iLarge, &iSmall, nIcons ) );
  }
Cuando compilo solo el proyecto InstalledAt, no me dá error pero cuando compilo junto con este otro proyecto (Call_IDE) en conjunto me dá un montón de errores:
Harbour 3.2.0dev (r1601151502)
Copyright (c) 1999-2015, http://harbour-project.org/
..\HMG_Version\InstalledAt\InstalledAt.Prg: In function 'HB_FUN_GETLOGICALDRIVES':
..\HMG_Version\InstalledAt\InstalledAt.Prg:533:5: warning: implicit declaration of function 'hb_retnl' [-Wimplicit-function-declaration]
In file included from D:\Fontes\HMG\Call_IDE\call_ide.prg:912:0:
D:/hmg.3.4.3/harbour/include/hbapi.h: At top level:
D:/hmg.3.4.3/harbour/include/hbapi.h:701:25: warning: conflicting types for 'hb_retnl'
extern HB_EXPORT void hb_retnl( long lNumber ); /* returns a long number */
^
..\HMG_Version\InstalledAt\InstalledAt.Prg:533:5: note: previous implicit declaration of 'hb_retnl' was here
D:\Fontes\HMG\Call_IDE\call_ide.prg: In function 'HB_FUN_SHELLEXECUTEEX':
D:\Fontes\HMG\Call_IDE\call_ide.prg:924:29: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
SHExecInfo.lpVerb = (LPCSTR) HMG_parc( 2 );
^
D:\Fontes\HMG\Call_IDE\call_ide.prg:925:29: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
SHExecInfo.lpFile = (LPCSTR) HMG_parc( 3 );
^
D:\Fontes\HMG\Call_IDE\call_ide.prg:926:29: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
SHExecInfo.lpParameters = (LPCSTR) HMG_parc( 4 );
^
D:\Fontes\HMG\Call_IDE\call_ide.prg:927:29: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
SHExecInfo.lpDirectory = (LPCSTR) HMG_parc( 5 );
^
Como verás, mi mensaje anterior muestra el InstalledAt funcionando correctamente (ejecutable adjunto). Pero cuando compilo junto al otro proyecto me dá error.

Podrias decirme por favor, que es lo que estoy haciendo mal ?

Se adjunta a los dos proyectos. La funcion que son adiciones en el archivo InstalledAt.prg
 
<Source files in pack were removed due is fixed version at next messages in this topic>
 
Aguardo tu respuesta.

Googled
Hello Claudio, I need a little help.

I am adding this function to the InstalledAt project:

<Sources codes>

When I compile only the project InstalledAt, it does not give me error but when compiling together with this other project together gives me a lot of errors:

<Build.log Error>

As you will see, my previous message shows InstalledAt working correctly (executable attached). But when I compile next to the other project it gives me error.

Could you tell me please, what am I doing wrong?
Last edited by Pablo César on Wed Feb 01, 2017 9:38 am, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

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

Post by srvet_claudio » Wed Feb 01, 2017 1:12 am

Adicionar
#include "hbapi.h"

Sacar (LPCSTR) antes de HMG_parc
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
Pablo César
Posts: 4011
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

Post by Pablo César » Wed Feb 01, 2017 9:39 am

Gracias Claudio, está funcionando.

Disculpame por incomodar.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4011
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

Post by Pablo César » Wed Feb 01, 2017 9:59 am

Version 1.4

Added IDE selection according it name and sub-folders in the HMG installation:
  • Displaying the IDE versions on the Tree
  • Differentiation of IDE versions according to UNICODE, ANSI, with Debugger and old versions displayed with differentiated icons
 
<Pack file was removed because there is a newest version ahead in this topic>
 
I hope you enjoyed the new implementations. :D
Last edited by Pablo César on Wed Feb 01, 2017 9:54 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4011
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

Post by Pablo César » Wed Feb 01, 2017 9:53 pm

Version 1.5

Added "Prevent loading the same project in multiple instances" option.
 
Screen71.png
Screen71.png (23.75 KiB) Viewed 174 times
 
Call_IDE_Pack.rar
Executable and Source files (Two project in the pack)
(1.67 MiB) Downloaded 41 times
 
I hope you enjoyed the new implementations. :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
serge_girard
Posts: 1628
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 186 times
Been thanked: 29 times
Contact:

Post by serge_girard » Thu Feb 02, 2017 8:06 am

Great!

Serge

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests