FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH: All functions, classes, methods with source code
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH: All functions, classes, methods with source code
Posted: Sun Sep 04, 2022 03:16 PM
Please build and execute
fwh\samples\fwfuncs.prg



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 (fw): Select all Collapse
static cBccFolder  := "c:\bcc7\"   // your bcc folder here

Set your bcc folder name here.
Regards



G. N. Rao.

Hyderabad, India
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: FWH: All functions, classes, methods with source code
Posted: Sun Sep 04, 2022 06:39 PM

Dear Mr. Rao,

Thank you so much. I did not know this function.
Best regards,
Otto

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: FWH: All functions, classes, methods with source code
Posted: Sun Sep 04, 2022 08: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH: All functions, classes, methods with source code
Posted: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH: All functions, classes, methods with source code
Posted: Mon Sep 05, 2022 05: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
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: FWH: All functions, classes, methods with source code
Posted: Tue Sep 13, 2022 08: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.08 with Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH: All functions, classes, methods with source code
Posted: Wed Sep 14, 2022 05: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
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: FWH: All functions, classes, methods with source code
Posted: Wed Sep 14, 2022 08: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.08 with Harbour
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: FWH: All functions, classes, methods with source code
Posted: Wed Sep 14, 2022 09: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.08 with Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH: All functions, classes, methods with source code
Posted: Thu Sep 15, 2022 06: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
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: FWH: All functions, classes, methods with source code
Posted: Thu Sep 15, 2022 06: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.08 with Harbour
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: FWH: All functions, classes, methods with source code
Posted: Thu Sep 15, 2022 06: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 :-)
Marc Venken

Using: FWH 23.08 with Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH: All functions, classes, methods with source code
Posted: Thu Sep 15, 2022 06: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
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: FWH: All functions, classes, methods with source code
Posted: 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.08 with Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH: All functions, classes, methods with source code
Posted: Thu Sep 15, 2022 06:58 PM

Thank you Marc,

We have three great tools there :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com