FWH: All functions, classes, methods with source code

User avatar
nageswaragunupudi
Posts: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

FWH: All functions, classes, methods with source code

Post by nageswaragunupudi »

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


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

Set your bcc folder name here.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Otto
Posts: 6413
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 27 times
Been thanked: 2 times
Contact:

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

Post by Otto »

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
TimStone
Posts: 2956
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Has thanked: 25 times
Been thanked: 2 times
Contact:

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

Post by TimStone »

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
Antonio Linares
Site Admin
Posts: 42595
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 38 times
Been thanked: 86 times
Contact:

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

Post by Antonio Linares »

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: 42595
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 38 times
Been thanked: 86 times
Contact:

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

Post by Antonio Linares »

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
Marc Venken
Posts: 1485
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

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

Post by Marc Venken »

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.08 with Harbour
User avatar
Antonio Linares
Site Admin
Posts: 42595
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 38 times
Been thanked: 86 times
Contact:

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

Post by Antonio Linares »

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
Marc Venken
Posts: 1485
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

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

Post by Marc Venken »

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.08 with Harbour
User avatar
Marc Venken
Posts: 1485
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

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

Post by Marc Venken »

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.08 with Harbour
User avatar
Antonio Linares
Site Admin
Posts: 42595
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 38 times
Been thanked: 86 times
Contact:

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

Post by Antonio Linares »

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
Marc Venken
Posts: 1485
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

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

Post by Marc Venken »

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.08 with Harbour
User avatar
Marc Venken
Posts: 1485
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

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

Post by Marc Venken »

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.08 with Harbour
User avatar
Antonio Linares
Site Admin
Posts: 42595
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 38 times
Been thanked: 86 times
Contact:

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

Post by Antonio Linares »

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
Marc Venken
Posts: 1485
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

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

Post by Marc Venken »

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.08 with Harbour
User avatar
Antonio Linares
Site Admin
Posts: 42595
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 38 times
Been thanked: 86 times
Contact:

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

Post by Antonio Linares »

Thank you Marc,

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

Antonio Linares
www.fivetechsoft.com
Post Reply