FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Pritpal, HBIDE developer, assists us to use it with FWH
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Pritpal, HBIDE developer, assists us to use it with FWH
Posted: Thu Jun 03, 2010 06:20 AM

Pritpal has been so kind to attend us to learn how to use HBIDE and FWH, so we are inviting him here to share his expertise with us, for those that may want to try HBIDE

Many thanks to Pritpal! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 154
Joined: Thu Jun 03, 2010 06:27 AM
Re: Pritpal, HBIDE developer, assist us to use it with FWH
Posted: Thu Jun 03, 2010 06:54 AM

Thanks Antonio

It is a pleasure to be invited here on this board.

May be many of you did not heard about me, so here is a brief intro of myself:

It is Pritpal Bedi from India-USA, a student of software analyis & design.
Undersigned has contributed to the cause of Clipper community whatever
small he could, by way of contributions to xHarbour and then Harbour plus
Vouch32.lib and Vouch32 Activex Server.

Currently undersigned is dedicating to Harbour bindings for Qt and the resulting
libraries are hbQT, hbXBP with resultant showcase application of those libraries in the
shape of hbIDE ( Harbour's Integrated Development Environment ).

Antonio, this great visionary of his subject, has just invited me to share
my experiences with hbIDE in context to IDE in general and FWH in specific.
I really feel honored to be amongst you and pledge to make hbIDE the most
used component of your development cycle.

The only requirement from your side is to provide feedback and constanly asking
for new features beside starting use of it on daily basis.

hbIDE is still very young, only five months old, so please remain patient if it does
not come close to your expectations. But be sure that it will one day.

Regards
Pritpal Bedi

enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
Posts: 990
Joined: Wed Oct 19, 2005 02:17 PM
Re: Pritpal, HBIDE developer, assist us to use it with FWH
Posted: Thu Jun 03, 2010 07:44 AM

Hi Pritpal,

welcome to this forum. Thanks for your time and contributions to the [x]Harbour community.

Welcome !!!

Best regards,

Felix

Posts: 17
Joined: Thu Apr 22, 2010 05:15 AM
Re: Pritpal, HBIDE developer, assist us to use it with FWH
Posted: Thu Jun 03, 2010 09:11 AM

I use HBIDE since the first day

I think it will be the Winner

Great Work Pritpal

Posts: 8
Joined: Thu Jun 03, 2010 09:15 AM
Re: Pritpal, HBIDE developer, assists us to use it with FWH
Posted: Thu Jun 03, 2010 09:38 AM

Great Work

India 10 Points

Thanks from Austria

Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Pritpal, HBIDE developer, assist us to use it with FWH
Posted: Thu Jun 03, 2010 12:34 PM
Pritpal,
It is the first time I try it, and it is amazing, Thanks and Congratulations....

The only requirement from your side is to provide feedback and constanly asking
for new features beside starting use of it on daily basis.


FeedBack:
Function List is not updated unless source is saved...
Function List does not recognize abbreviations of the word FUNCTION (FUNCT, etc.)
Aplication is closed by Windows when a PRG file is open and the print button is pressed.

ASKING IS FREE:
It would be nice if a KeyWord selection is implemented, so the user could select KeyWords and Colors

I think this will be my choice of IDE.... I absolutely love the Functions List...

THANK YOU...

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Pritpal, HBIDE developer, assists us to use it with FWH
Posted: Thu Jun 03, 2010 02:41 PM
Edited: This explanation is wrong. The right way to use HBIDE and FWH is explained on another posts in this same thread (Antonio).

I am going to explain here the first steps to use HBIDE and FWH:

Create this file in your working folder:
myfwh.hbp
Code (fw): Select all Collapse
-3rd=hbide_version=1.0
-3rd=hbide_type=Executable
-3rd=hbide_title=FWH&Based
-3rd=hbide_location=C:\hbide
-3rd=hbide_workingfolder=
-3rd=hbide_destinationfolder=
-3rd=hbide_output=myfwh
-3rd=hbide_launchparams=
-3rd=hbide_launchprogram=
-3rd=hbide_backupfolder=
-3rd=hbide_xhb=NO
-3rd=hbide_xpp=NO
-3rd=hbide_clp=NO
 
-w
-p
-gtgui
-ic:\fwh
-Lc:\fwh\lib
-Lc:\fwh\include
-lFiveH
-lFiveHC
-lxhb
-lnddeapi
-liphlpapi
-lmsimg32
-lrasapi32
-lhbct
-lhbwin
 
test.prg


Now double click on that file and you will get this:


Next select "View - Projects" from the main pulldown menu:


And you can reach the PRG specified inside the initial HBP file:


Next we need to specify the path for Harbour's hbmk2.exe so we click on "Compiler Environments":


and we set the path for Harbour's hbmk2.exe:


You can already click on main toolbar "Build Project" button and see how far you get:


We need to modify hbide.env and set its path in the same place where we set the path for hbmk2.exe:
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 154
Joined: Thu Jun 03, 2010 06:27 AM
Re: Pritpal, HBIDE developer, assists us to use it with FWH
Posted: Thu Jun 03, 2010 03:53 PM
Hi

Thank you all for kind words.

Bayron wrote:Pritpal,
It is the first time I try it, and it is amazing, Thanks and Congratulations....


Thanks.


FeedBack:
Function List is not updated unless source is saved...


Yep, there is no way to achieve it otherwise. While editing, if I take use
of timers, then it may be possible, but then it will slow many processes.
Any idea you may have ?


Function List does not recognize abbreviations of the word FUNCTION (FUNCT, etc.)


Yep. I will revisit the parsing code sometime later.
But for the fact that we must use strong syntax, it will be a down-side to scale.
Better would be if we shed some Clipper habits for good.


Aplication is closed by Windows when a PRG file is open and the print button is pressed.


I cannot reproduce, it is working perfect.
May you download the latest I just uploaded ( r.14667 ) and check again?


ASKING IS FREE:
It would be nice if a KeyWord selection is implemented, so the user could select KeyWords and Colors


I tried this and the feature is still on my TODO list.
The fact that hbIDE is not based on QScintilla is a blocking point for some features.
Anyway, I will give it a try.


I think this will be my choice of IDE.... I absolutely love the Functions List...


Must ask any more questions you may have.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
Posts: 154
Joined: Thu Jun 03, 2010 06:27 AM
Re: Pritpal, HBIDE developer, assists us to use it with FWH
Posted: Thu Jun 03, 2010 04:00 PM
Antonio Linares wrote:I am going to explain here the first steps to use HBIDE and FWH:

Create this file in your working folder:
myfwh.hbp
Code (fw): Select all Collapse
-3rd=hbide_version=1.0
-3rd=hbide_type=Executable
-3rd=hbide_title=FWH&Based
-3rd=hbide_location=C:\hbide
-3rd=hbide_workingfolder=
-3rd=hbide_destinationfolder=
-3rd=hbide_output=myfwh
-3rd=hbide_launchparams=
-3rd=hbide_launchprogram=
-3rd=hbide_backupfolder=
-3rd=hbide_xhb=NO
-3rd=hbide_xpp=NO
-3rd=hbide_clp=NO
 
-w
-p
-gtgui
-ic:\fwh
-Lc:\fwh\lib
-Lc:\fwh\include
-lFiveH
-lFiveHC
-lxhb
-lnddeapi
-liphlpapi
-lmsimg32
-lrasapi32
-lhbct
-lhbwin
 
test.prg


Now double click on that file and you will get this:


The whole process should be the opposite way.

1. Run hbIDE.
2. <Files><New><New Project>
3. Project Properties dialog will open after fetching a project path.
4. Follow instructions : http://hbide.vouch.info/?creating_a_project.htm
5. Also : http://hbide.vouch.info/?compiler_environments.htm

The whole concept of hbIDE resides in the fact that every single action
involving a project must be carried inside of IDE.

Thanks for your feedback to the users and time invested.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Pritpal, HBIDE developer, assists us to use it with FWH
Posted: Thu Jun 03, 2010 06:15 PM

Dear Pritpal,

Many thanks for your so valuable help :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Pritpal, HBIDE developer, assists us to use it with FWH
Posted: Thu Jun 03, 2010 07:51 PM
This time I tried it the "usual" way, as Pritpal said, and got it working with these flags :-)

-Ic:\fwh\include
-lc:\fwh\lib\fiveh
-lc:\fwh\lib\fivehc
-lgtgui
-lhbwin





regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Pritpal, HBIDE developer, assists us to use it with FWH
Posted: Thu Jun 03, 2010 08:08 PM
This flag was missing to remove the console window:

-gui

so final flags to use are:

-Ic:\fwh\include
-lc:\fwh\lib\fiveh
-lc:\fwh\lib\fivehc
-lgtgui
-lhbwin
-gui

Working very nicely :-)



Many thanks Pritpal! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 154
Joined: Thu Jun 03, 2010 06:27 AM
Re: Pritpal, HBIDE developer, assists us to use it with FWH
Posted: Thu Jun 03, 2010 08:13 PM
Antonio Linares wrote:This time I tried it the "usual" way, as Pritpal said, and got it working with these flags :-)

-Ic:\fwh\include
-lc:\fwh\lib\fiveh
-lc:\fwh\lib\fivehc
-lgtgui
-lhbwin


Should be:

-Ic:\fwh\include not required as -l fwh\include is supposed to have headers only -l flags is for libs.
it should be -ic:\fwh\include or -incpath=c:\fwh\include
-lc:\fwh\lib\fiveh ok
-lc:\fwh\lib\fivehc ok

-lgtgui -gtgui does not need -l flag, it itself is a flag
-lhbwin ok
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Pritpal, HBIDE developer, assists us to use it with FWH
Posted: Thu Jun 03, 2010 08:28 PM

I wrote an uppercase i :-)

These are my final used flags:

-ic:\fwh\include
-lc:\fwh\lib\fiveh
-lc:\fwh\lib\fivehc
-lhbwin
-gui

working fine :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Pritpal, HBIDE developer, assists us to use it with FWH
Posted: Thu Jun 03, 2010 09:54 PM
Pritpal,


Better would be if we shed some Clipper habits for good.


Definitely agreed...

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...