Page 1 of 20

Pritpal, HBIDE developer, assists us to use it with FWH

PostPosted: Thu Jun 03, 2010 6:20 am
by Antonio Linares
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! :-)

Re: Pritpal, HBIDE developer, assist us to use it with FWH

PostPosted: Thu Jun 03, 2010 6:54 am
by Pritpal Bedi
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

Re: Pritpal, HBIDE developer, assist us to use it with FWH

PostPosted: Thu Jun 03, 2010 7:44 am
by Baxajaun
Hi Pritpal,

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

Welcome !!!

Best regards,

Felix

Re: Pritpal, HBIDE developer, assist us to use it with FWH

PostPosted: Thu Jun 03, 2010 9:11 am
by Jaque Morique
I use HBIDE since the first day

I think it will be the Winner

Great Work Pritpal

Re: Pritpal, HBIDE developer, assists us to use it with FWH

PostPosted: Thu Jun 03, 2010 9:38 am
by Sepp Hinterhuber
Great Work

India 10 Points

Thanks from Austria

Re: Pritpal, HBIDE developer, assist us to use it with FWH

PostPosted: Thu Jun 03, 2010 12:34 pm
by Bayron
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...

Re: Pritpal, HBIDE developer, assists us to use it with FWH

PostPosted: Thu Jun 03, 2010 2:41 pm
by Antonio Linares
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: Select all  Expand view

-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:
Image

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

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

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

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

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

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

Re: Pritpal, HBIDE developer, assists us to use it with FWH

PostPosted: Thu Jun 03, 2010 3:53 pm
by Pritpal Bedi
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.

Re: Pritpal, HBIDE developer, assists us to use it with FWH

PostPosted: Thu Jun 03, 2010 4:00 pm
by Pritpal Bedi
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: Select all  Expand view

-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.

Re: Pritpal, HBIDE developer, assists us to use it with FWH

PostPosted: Thu Jun 03, 2010 6:15 pm
by Antonio Linares
Dear Pritpal,

Many thanks for your so valuable help :-)

Re: Pritpal, HBIDE developer, assists us to use it with FWH

PostPosted: Thu Jun 03, 2010 7:51 pm
by Antonio Linares
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

Image

Image

Image

Re: Pritpal, HBIDE developer, assists us to use it with FWH

PostPosted: Thu Jun 03, 2010 8:08 pm
by Antonio Linares
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 :-)

Image

Many thanks Pritpal! :-)

Re: Pritpal, HBIDE developer, assists us to use it with FWH

PostPosted: Thu Jun 03, 2010 8:13 pm
by Pritpal Bedi
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

Re: Pritpal, HBIDE developer, assists us to use it with FWH

PostPosted: Thu Jun 03, 2010 8:28 pm
by Antonio Linares
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 :-)

Re: Pritpal, HBIDE developer, assists us to use it with FWH

PostPosted: Thu Jun 03, 2010 9:54 pm
by Bayron
Pritpal,

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


Definitely agreed...