HMG Easy Build

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:

Re: HMG Easy Build

Post by srvet_claudio »

Rathinagiri wrote:A request from a lazy man. :)

Can we have the latest version?
Ok, I'll work on it.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG Easy Build

Post by srvet_claudio »

bpd2000 wrote:Wow! Congrats Claudio. Many more 1000s expected.
bpd2000 wrote:Congrats
Best wishes
Many thanks Friends :D

PS: Dave, Very beautiful horse, I love the horses, I ride horses from 4 or 5 years old.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: HMG Easy Build

Post by Javier Tovar »

srvet_claudio wrote:
This post is totally useless, it's just to complete my first 1000 posts.
Jajaja bien, Sabía que aparte de todo tienes buen humor!!! :) :) :)

Saludos y Felicidades!!!
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG Easy Build

Post by esgici »

pctoledo wrote:...
Using Form_1.StatusBar.Item(1) will not work properly, because of the changes suggested by Esgici.
I couldn't understand how my suggestion was an obstacle to work properly SEARCH_OPEN module of Toledo :?

And I have a new suggestion with a new SEARCH_FORUM module :
New toolbar for Easy Build
New toolbar for Easy Build
EBuildToolBar.PNG (80.28 KiB) Viewed 5862 times

Code: Select all

   DEFINE WINDOW Form_1;
      AT 0,0;
      WIDTH 900;
      HEIGHT 600;
      TITLE 'HMG Easy Build' + _VERSION;
      ICON "_EasyBuild_Icon.ico";
      ON INIT Initialize() ;
      ON PAINT SPLITBOX_RESIZE();
      ON RELEASE (Form_1.Tree_1.ImageList := 0, Form_1.Grid_1.ImageList := 0 );   // avoid release System Icon ImageList
      MAIN 

Code: Select all

      DEFINE TOOLBAR ToolBar_1 BUTTONSIZE 120,95 IMAGESIZE 64,64 STRICTWIDTH FLAT
         BUTTON Button_1 CAPTION "Ho&me"            PICTURE '_home'      ACTION URL_OPEN ( URL_BLOG  ) TOOLTIP 'Home page ...'
         BUTTON Button_3 CAPTION "HMG &Help"        PICTURE '_help'      ACTION URL_OPEN ( cHMG_Help ) TOOLTIP 'Open HMG Help'
         BUTTON Button_2 CAPTION "HMG &Forum"       PICTURE '_ftp'       ACTION URL_OPEN ( URL_FORUM ) TOOLTIP 'Open HMG Forum'
         BUTTON Button_8 CAPTION "Forum &Search "   PICTURE '_FrmSearch' ACTION SEARCH_FORUM() TOOLTIP 'Search at HMG Forum'
         BUTTON Button_4 CAPTION "&Setting Options" PICTURE '_setting'   ACTION SETTING_OPTIONS()      TOOLTIP 'Setting Options'
         BUTTON Button_5 CAPTION "&Open File"       PICTURE '_open'      ACTION OPEN_FILE()            TOOLTIP 'Open File'
         BUTTON Button_6 CAPTION "&Build App"       PICTURE '_build'     ACTION BUILD_APP()            TOOLTIP 'Build .HBP/.PRG Files'
         BUTTON Button_7 CAPTION "&About"           PICTURE '_about'     ACTION ABOUT_INFO()           TOOLTIP 'About ...'
      END TOOLBAR

Code: Select all

*-----------------------------------------------------------------------------*
PROCEDURE Initialize()
*-----------------------------------------------------------------------------*
   Form_1.Button_6.Enabled := .F.
RETURN // Initialize()

Code: Select all

PROCEDURE SEARCH_FORUM()

   LOCAL nGrRow := Form_1.Grid_1.CellRowFocused
   
   LOCAL cPath, cFNam
   
   IF nGrRow > 0
      cPath := aFiles[ nGrRow, 5 ]
   
      IF !EMPTY( cPath ) 
         HB_FNameSplit( cPath, , @cFNam )
         IF !EMPTY( cFNam ) 
            URL_OPEN ( URL_FORUM + "/search.php?keywords=" + cFNam + "&ch=300" )            
         ENDIF   
      ENDIF
      
   ENDIF   
   
RETURN // SEARCH_FORUM()
EBuild2Files.zip
E_Build Additional 2 files
(5.99 KiB) Downloaded 346 times
In my opinion there isn't any reason to limit search for samples.

Only a humble suggestion and only my personal view of point; the decision is to you :arrow:

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D
User avatar
Agil Abdullah
Posts: 204
Joined: Mon Aug 25, 2014 11:57 am
Location: Jakarta, Indonesia
Contact:

Re: HMG Easy Build

Post by Agil Abdullah »

Hallo Dr.Claudio Soto,

I failed to recompile your source of hmg_easybuild.prg. Error read as below:

---------------------------------------------------------------------------------------------------
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/" onclick="window.open(this.href);return false;
d:/hmg331/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: reopening HMG_EasyBuild.exe: Permission denied

d:/hmg331/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: final link failed: Permission denied
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:/Users/toshiba/AppData/Local/Temp/hbmk_7qbnxu.dir/hmg_easybuild.o C:/Users/toshiba/AppData/Local/Temp/hbmk_7qbnxu.dir/hbmk_hv5yfb.o D:/HMG331/_UserContrib/Apps/ClaudioSoto/_temp.o -Wl,--nxcompat -Wl,--dynamicbase -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oHMG_EasyBuild.exe -LD:/HMG331/harbour/lib/win/mingw -LD:/HMG331/lib

---------------------------------------------------------------------------------------------------

Pls kindly help.

BTW, original *.EXE you shared to download last week is excellent. I love this!

Regards.
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG Easy Build

Post by bpd2000 »

Agil Abdullah wrote:Hallo Dr.Claudio Soto,

I failed to recompile your source of hmg_easybuild.prg. Error read as below:

---------------------------------------------------------------------------------------------------
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
d:/hmg331/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: reopening HMG_EasyBuild.exe: Permission denied
"Permission denied" means HMG_EasyBuild.exe is running, quit from said program and then compile
Have you applied patch-1 and 2 ?
BPD
Convert Dream into Reality through HMG
User avatar
Agil Abdullah
Posts: 204
Joined: Mon Aug 25, 2014 11:57 am
Location: Jakarta, Indonesia
Contact:

Re: HMG Easy Build

Post by Agil Abdullah »

Hi BPD2000:

Yes, I do close the running apps. But now different error coming out.

---------------------------------------------------------------------------------------------


hbmk2: Error: Referenced, missing, but unknown function(s):
BT_IMAGELISTEXTRACTICON(), BT_DIRECTORYINFO(),
BT_IMAGELISTGETSYSTEMICON(), SETWINDOWTHEME(), REBAR_GETHEIGHT(),
REBAR_GETBANDINFO(), REBAR_SETMINCHILDSIZE(), SETCURSORSYSTEM(),
FINDCLOSECHANGENOTIFICATION(), FINDFIRSTCHANGENOTIFICATION(),
HMG_STRCMP(), WAITFORSINGLEOBJECT(), FINDNEXTCHANGENOTIFICATION(),
BT_MATHCIRCUMFERENCEY(), BT_MATHCIRCUMFERENCEX(),
BT_REGIONCREATEELLIPTIC(), BT_SELECTOBJECT(), BT_DRAWTEXTSIZE(),
BT_MATHCIRCUMFERENCEARCANGLE(), BT_REGIONCOMBINE(), BT_DELETEOBJECT()

----------------------------------------------------------------------------------------------

What libs missing? Thanks
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG Easy Build

Post by bpd2000 »

Dr. Claudio
On click of Control Panel error generate
My system is WinXp-32

Image
BPD
Convert Dream into Reality through HMG
User avatar
pctoledo
Posts: 123
Joined: Wed Aug 25, 2010 10:45 am
Location: Araçatuba - SP - Brazil
Contact:

Re: HMG Easy Build

Post by pctoledo »

esgici wrote:I couldn't understand how my suggestion was an obstacle to work properly SEARCH_OPEN module of Toledo
In my initial code SEARCH_OPEN, was using Form_1.StatusBar.Item (1) to get the current open folder, but your suggestion included the name of the selected file, then the only way out was to use Form_1.Tree_1.Cargo (Form_1.Tree_1.Value)).
esgici wrote:In my opinion there isn't any reason to limit search for samples.
The HMG Easy Build can be used to compile the demos of the SAMPLES folder, but can also build any other project HMG in other folders. So I thought it best to limit SEARCH_OPEN only when the SAMPLES folder is selected. So the search will be based on the selected folder, searching forum function / events / controls related to the current folder.
When any folder is selected, different SAMPLES, the button HMG Forum will open http://www.hmgforum.com" onclick="window.open(this.href);return false;.
esgici wrote:And I have a new suggestion with a new SEARCH_FORUM module
I noticed that in your module SEARCH_FORUM you are using the file name selected to search forum. Most names of PRG files or HBP is demo (Demo.prg, demo1.prg, demo2.prg, etc), then the forum will search by name "demo", no matter which folder is selected.
I think the correct approach would be to search for the name of the selected folder, as I did SEARCH_OPEN.
Regards/Saludos,

Toledo

Clipper On Line
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG Easy Build

Post by Pablo César »

pctoledo wrote:The HMG Easy Build can be used to compile the demos of the SAMPLES folder, but can also build any other project HMG in other folders. So I thought it best to limit SEARCH_OPEN only when the SAMPLES folder is selected. So the search will be based on the selected folder, searching forum function / events / controls related to the current folder.
When any folder is selected, different SAMPLES, the button HMG Forum will open [url]http://www.hmgforum.com"%20onclick[/url]

..//..

I think the correct approach would be to search for the name of the selected folder, as I did SEARCH_OPEN.
+1
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply