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

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

Postby Antonio Linares » Thu Jun 03, 2010 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Pritpal Bedi » Thu Jun 03, 2010 6: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/
User avatar
Pritpal Bedi
 
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am

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

Postby Baxajaun » Thu Jun 03, 2010 7:44 am

Hi Pritpal,

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

Welcome !!!

Best regards,

Felix
User avatar
Baxajaun
 
Posts: 968
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia

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

Postby Jaque Morique » Thu Jun 03, 2010 9:11 am

I use HBIDE since the first day

I think it will be the Winner

Great Work Pritpal
Jaque Morique
 
Posts: 17
Joined: Thu Apr 22, 2010 5:15 am

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

Postby Sepp Hinterhuber » Thu Jun 03, 2010 9:38 am

Great Work

India 10 Points

Thanks from Austria
User avatar
Sepp Hinterhuber
 
Posts: 8
Joined: Thu Jun 03, 2010 9:15 am

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

Postby Bayron » 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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

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

Postby Antonio Linares » Thu Jun 03, 2010 2: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: 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Pritpal Bedi » Thu Jun 03, 2010 3: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/
User avatar
Pritpal Bedi
 
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am

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

Postby Pritpal Bedi » Thu Jun 03, 2010 4: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: 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.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
User avatar
Pritpal Bedi
 
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am

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

Postby Antonio Linares » Thu Jun 03, 2010 6:15 pm

Dear Pritpal,

Many thanks for your so valuable help :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Antonio Linares » Thu Jun 03, 2010 7: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

Image

Image

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Antonio Linares » Thu Jun 03, 2010 8: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 :-)

Image

Many thanks Pritpal! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Pritpal Bedi » Thu Jun 03, 2010 8: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/
User avatar
Pritpal Bedi
 
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am

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

Postby Antonio Linares » Thu Jun 03, 2010 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Bayron » Thu Jun 03, 2010 9:54 pm

Pritpal,

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


Definitely agreed...
=====>

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

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 80 guests