FWH: All functions, classes, methods with source code

FWH: All functions, classes, methods with source code

Postby nageswaragunupudi » Sun Sep 04, 2022 3:16 pm

Please build and execute
fwh\samples\fwfuncs.prg

Image

This sample program is available from FWH version 19.01 onwards.

Note:
This program requires Borland compiler installed on your PC.

Please see this line near the top of the program.
Code: Select all  Expand view

static cBccFolder  := "c:\bcc7\"   // your bcc folder here

Set your bcc folder name here.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: FWH: All functions, classes, methods with source code

Postby Otto » Sun Sep 04, 2022 6:39 pm

Dear Mr. Rao,

Thank you so much. I did not know this function.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: FWH: All functions, classes, methods with source code

Postby TimStone » Sun Sep 04, 2022 8:03 pm

For those of us who do not have, or use, Borland, it would be nice to have access to this program.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: FWH: All functions, classes, methods with source code

Postby Antonio Linares » Sun Sep 04, 2022 11:30 pm

Dear Tim,

fwfuncs.prg is available from FWH\samples and you can build it using buildh32.bat fwfuncs using MSVC
regards, saludos

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

Re: FWH: All functions, classes, methods with source code

Postby Antonio Linares » Mon Sep 05, 2022 5:52 am

But there should be a Borland folder. Because this program uses bcc's lib.exe to extract module and function names from the libs
regards, saludos

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

Re: FWH: All functions, classes, methods with source code

Postby Marc Venken » Tue Sep 13, 2022 8:43 pm

If I want this program to show my functions, I looks that I need to make a LIB ?

Is there a easy way ? I have 2 prg files but most of them are in 1 prg file.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1343
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: FWH: All functions, classes, methods with source code

Postby Antonio Linares » Wed Sep 14, 2022 5:01 am

Dear Marc,

tlib.exe mylib.lib + myprg1.obj myprg2.obj ...

in case you want to replace the OBJs inside it:

tlib.exe mylib.lib -+ myprg1.obj myprg2.obj ...
regards, saludos

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

Re: FWH: All functions, classes, methods with source code

Postby Marc Venken » Wed Sep 14, 2022 8:31 am

Making the lib is ok.

The program is making a LST file from the lib, but when I make a LST file from my lib

WaitRun( cBccFolder + "bin\tlib.exe ..\lib\maveco.lib, maveco.lst " )

the content is :

No public symbols exist.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1343
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: FWH: All functions, classes, methods with source code

Postby Marc Venken » Wed Sep 14, 2022 9:04 am

This program is reading all functions from the libs.

It is correct that it will not read any functions that are used in prg's from to sample dir ?

Maybe this can be added to the program ? There are very interesting functions written by users and I test them in the samples dir, so they sit there waiting to be explored )))
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1343
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: FWH: All functions, classes, methods with source code

Postby Antonio Linares » Thu Sep 15, 2022 6:11 am

Dear Marc,

How did you solved it ? glad to know it is working.

Yes, you are right, there are so many examples and users code that it is difficult to have it properly organized :-)
regards, saludos

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

Re: FWH: All functions, classes, methods with source code

Postby Marc Venken » Thu Sep 15, 2022 6:22 am

Antonio Linares wrote:Dear Marc,

How did you solved it ? glad to know it is working.

Yes, you are right, there are so many examples and users code that it is difficult to have it properly organized :-)


I did not solve it.

I was just able to make the lib that is giving a empty .LST file, so the program wont read the functions. Therefore I asked if it is possible to read the prg from samples folder en read those functions into it.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1343
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: FWH: All functions, classes, methods with source code

Postby Marc Venken » Thu Sep 15, 2022 6:28 am

Antonio Linares wrote:Dear Marc,

Yes, you are right, there are so many examples and users code that it is difficult to have it properly organized :-)


We have now 3 programs that can read the forum content. I wonder if one of them could also extract the source code and/or functions that are used in the topics. Maybe a FLAG that there is sourcecode into a topic can be shown ?
We know then were to look for sample code. I have ideas, but can not program them, sorry :oops:
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1343
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: FWH: All functions, classes, methods with source code

Postby Antonio Linares » Thu Sep 15, 2022 6:56 am

Dear Marc,

> We have now 3 programs that can read the forum content

Where are them ? Could you please point them ? thank you
regards, saludos

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

Re: FWH: All functions, classes, methods with source code

Postby Marc Venken » Thu Sep 15, 2022 10:30 am

Antonio Linares wrote:Dear Marc,

> We have now 3 programs that can read the forum content

Where are them ? Could you please point them ? thank you


The latest from Jimmy : viewtopic.php?f=3&t=35170&p=253005&hilit=jimmy&sid=fa32be760e6ea5217537aac610fed512#p253005
The biggest from Uwe : viewtopic.php?f=3&t=35170&hilit=jimmy&start=105#p211936
The original from Mr. Rao : viewtopic.php?f=3&t=33496
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1343
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: FWH: All functions, classes, methods with source code

Postby Antonio Linares » Thu Sep 15, 2022 6:58 pm

Thank you Marc,

We have three great tools there :-)
regards, saludos

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

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 90 guests