Page 5 of 7

Re: HMG Easy Build

Posted: Sun Sep 07, 2014 4:03 pm
by srvet_claudio
Rathinagiri wrote:A request from a lazy man. :)

Can we have the latest version?
Ok, I'll work on it.

Re: HMG Easy Build

Posted: Sun Sep 07, 2014 4:11 pm
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.

Re: HMG Easy Build

Posted: Sun Sep 07, 2014 8:10 pm
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!!!

Re: HMG Easy Build

Posted: Mon Sep 08, 2014 2:03 am
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 6633 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 388 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

Re: HMG Easy Build

Posted: Mon Sep 08, 2014 7:42 am
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.

Re: HMG Easy Build

Posted: Mon Sep 08, 2014 9:25 am
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 ?

Re: HMG Easy Build

Posted: Mon Sep 08, 2014 10:26 am
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

Re: HMG Easy Build

Posted: Mon Sep 08, 2014 11:51 am
by bpd2000
Dr. Claudio
On click of Control Panel error generate
My system is WinXp-32

Image

Re: HMG Easy Build

Posted: Mon Sep 08, 2014 12:46 pm
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.

HMG Easy Build

Posted: Mon Sep 08, 2014 1:12 pm
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